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

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql-server: Clean up generation of default
Date: 2004-06-11 04:02:21
Message-ID: 40C92ECD.6020000@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 04:17:25 pgsql-server: Another fix for Win32 START.
Previous Message Bruce Momjian 2004-06-11 03:57:03 pgsql-server: The attached tiny patch removes spurious carriage returns

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-06-11 04:18:51 Re: Nested xacts: looking for testers and review
Previous Message Christopher Kings-Lynne 2004-06-11 03:41:22 Re: [COMMITTERS] pgsql-server: Clean up generation of default names