From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc:
Darcy Buskermolen <darcy(at)wavefire(dot)com>,Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: [COMMITTERS] pgsql-server: Clean up generation of default
Date:
2004-06-12 17:44:08
Message-ID:
26591.1087062248@sss.pgh.pa.us (view raw or flat )
Thread:
2004-06-10 17:56:03 from tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
2004-06-11 01:14:37 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-11 01:34:14 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2004-06-11 01:49:25 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-11 03:15:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2004-06-11 03:41:22 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-11 04:02:21 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-11 06:16:04 from Michael Glaesemann <grzm(at)myrealbox(dot)com>
2004-06-11 12:51:39 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-11 21:48:23 from Darcy Buskermolen <darcy(at)wavefire(dot)com>
2004-06-12 10:12:37 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-12 17:44:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2004-06-13 07:32:10 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2004-06-13 17:24:05 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Lists:
pgsql-committers pgsql-hackers
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> OK, attached is a file with the original function, and an overloaded one
> that just takes table and column. It searches your current search_path
> to find the first matching table.
The right way to do this at the C level would be to use the same
infrastructure as nextval() does to accept arguments like 'foo' and
'"Foo"."Bar"'. There's no reason to restrict the two-argument form
to the current search_path.
Given that you do that, I'm not sure that a three-argument form is even
needed. AFAIR no one has asked for a two-argument form of nextval...
regards, tom lane
In response to
Responses
pgsql-hackers by date
Next :From: Tom LaneDate: 2004-06-12 17:50:09
Subject : Re: File leak?
Previous :From : Stephan SzaboDate : 2004-06-12 17:27:15
Subject : Re: Nested xacts: looking for testers and review
pgsql-committers by date
Next :From: Tom LaneDate: 2004-06-12 19:30:30
Subject : pgsql-server: Some editorializing on 7.4.3 release notes.
Previous :From : Christopher Kings-LynneDate : 2004-06-12 10:12:37
Subject : Re: [COMMITTERS] pgsql-server: Clean up generation of default