Re: [BUGS] BUG #2907: pg_get_serial_sequence quoting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] BUG #2907: pg_get_serial_sequence quoting
Date
Msg-id 17237.1169344609@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #2907: pg_get_serial_sequence quoting  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [BUGS] BUG #2907: pg_get_serial_sequence quoting  (Adriaan van Os <adriaan@microbizz.nl>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
>> I presume the reason for that is that the first paramater can be
>> qualified:
>> select pg_get_serial_sequence('"public"."FOO"', 'Ff1');

> Would someone explain why qualification makes us lowercase the first
> parameter by default?  I don't understand it well enough to document it.

The point is that we have to parse the first parameter, whereas the
second one can be taken literally.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function execution costs 'n all that
Next
From: Tom Lane
Date:
Subject: ECPG regression tests seem rather fundamentally broken