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

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

 



"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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux