Re: [COMMITTERS] pgsql-server: Clean up generation of default - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: [COMMITTERS] pgsql-server: Clean up generation of default
Date
Msg-id 40C92ECD.6020000@familyhealth.com.au
Whole thread Raw
In response to Re: [COMMITTERS] pgsql-server: Clean up generation of default names  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: [COMMITTERS] pgsql-server: Clean up generation of default  (Michael Glaesemann <grzm@myrealbox.com>)
List pgsql-hackers
> 3. Or even create a pg_get_sequence() function:
> 
> SELECT SETVAL(pg_get_sequence(schema.table, col), 17);

Actually, this is the best solution :)

Chris



pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: [COMMITTERS] pgsql-server: Clean up generation of default names
Next
From: Greg Stark
Date:
Subject: Re: Nested xacts: looking for testers and review