Re: pg_get_serial_sequence is inconsistent - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_get_serial_sequence is inconsistent
Date
Msg-id 200410282350.i9SNoIi05161@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_get_serial_sequence is inconsistent  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> >> pg_get_serial_sequence() does dequoting/downcasing on its relation-name
> >> argument, but not on its column-name argument.
> 
> > I presume the reason for that is that the first paramater can be qualified:
> 
> Right.  From a bare-functionality point of view there's nothing wrong
> with it, it just seems inconsistent and therefore likely to trip someone
> up in future.
> 
> But it seems no one else cares, so I'll shut up about it ...

That behavior does seem strange to me.  Would make it consistent have
any downsides?  If not, we should do it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: -HEAD contrib/dblink regress failure on SPARC/Solaris 8
Next
From: Bruce Momjian
Date:
Subject: Re: Unixware 714 pthreads