ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] postgresql sql запрос
@ 2003-10-03  7:04 Роман Тутов
  2003-10-03  7:13 ` Evgeny Yugov
  2003-10-03  8:23 ` Dmitry Chernyakov
  0 siblings, 2 replies; 5+ messages in thread
From: Роман Тутов @ 2003-10-03  7:04 UTC (permalink / raw)
  To: community

Доброе утро (вечер/ночь) 

После обновления на последний постгресс перестал работать один из
запросов . Может кто встречался с таким

___________________________________________________________________
Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: LIMIT #,# syntax not supported. Use separate LIMIT and OFFSET clauses. . in /var/www/functions.inc.php4 on line 15

Ошибка выполнения
SELECT qu_question, qu_author, qu_email,to_char(qu_date,'DD'),to_char(qu_date,'MM'),to_char(qu_date,'YYYY HH24:MI') FROM questions ORDER BY qu_date DESC LIMIT 10 , 0;

Warning: pg_numrows(): supplied argument is not a valid PostgreSQL result resource in /var/www/guestbook.php4 on line 52

_____________________________________________________________________

чем ему этот Limit не нравиться ? На сайте постгресса не написано что
они синтаксис меняли ....

-- 
 С уважением Тутов Роман
 Отдел АСУП
 mailto:tutov@empils.ru

Origin: Трава по грудь, а мы на лыжах!




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-03  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03  7:04 [Comm] postgresql sql запрос Роман Тутов
2003-10-03  7:13 ` Evgeny Yugov
2003-10-03  8:27   ` Re[2]: " Роман Тутов
2003-10-03  8:51     ` Re[3]: " Evgeny Yugov
2003-10-03  8:23 ` Dmitry Chernyakov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git