[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't query the sequence table of a serial primary key.



"Fred Parkinson" <FredP@xxxxxxxxxxx> wrote:
 
> When I do \d I see the table and the sequencer under 'List of
> relations'.  But when I run select * from mytable_id_seq;
> postgresql responds with: relation 'mytable_id_seq' does not
> exist.
 
It works for me.  Can you provide a small self-contained test case
which demonstrates the problem?
 
Hopefully you are aware of these functions, which might be easier:
 
http://www.postgresql.org/docs/8.4/interactive/functions-sequence.html
 
-Kevin

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

Powered by Linux