ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Роман Тутов" <tutov@empils.ru>
To: community@altlinux.ru
Subject: [Comm] postgresql sql запрос
Date: Fri, 3 Oct 2003 11:04:58 +0400
Message-ID: <375915403.20031003110458@empils.ru> (raw)

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

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

___________________________________________________________________
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: Трава по грудь, а мы на лыжах!




             reply	other threads:[~2003-10-03  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-03  7:04 Роман Тутов [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=375915403.20031003110458@empils.ru \
    --to=tutov@empils.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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