Search Postgresql Archives

Re: pg_get_serial_sequence Strangeness/Unreliable?

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

 



On 25-Nov-08, at 10:44 AM, Tom Lane wrote:

Jeff MacDonald <oss@xxxxxxxxxx> writes:
The issue, is that when I run pg_get_serial_sequence on a particular
table/column it returns NULL.

Does the column actually own that sequence?  Or is its default just
something that was inserted manually?


Hi Tom, so far as I know the table "owns" the serial in so much as when i do a \d of the table it says this

status_id | integer | not null default nextval('status_status_id_seq'::regclass)

How else can I check?


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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux