Re: pg newbie stumped on sequences! - Mailing list pgsql-general

From Tom Lane
Subject Re: pg newbie stumped on sequences!
Date
Msg-id 116.1053451146@sss.pgh.pa.us
Whole thread Raw
In response to pg newbie stumped on sequences!  ("Ben Joyce" <ben.joyce-pgsql@babelfish.co.uk>)
List pgsql-general
"Ben Joyce" <ben.joyce-pgsql@babelfish.co.uk> writes:
> It's been suggested that ('""test_ID_seq""'::text) might be the issue,
> irregular quoting?  Odd, as this is what phpPgAdmin spewed out.

Should be nextval('"test_ID_seq"') ... the ::text is unnecessary, though
harmless.  If phpPgAdmin doubled the double quotes then it's wrong.

7.1.3 is a bit long in the tooth as far as Postgres versions go, and it
may be that you are overdue for a phpPgAdmin update too ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: disk space usage enlarging despite vacuuming
Next
From: jks@selectacast.net
Date:
Subject: Re: sequence caches