Re: Regclass and quoted table names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Regclass and quoted table names
Date
Msg-id 21713.1236136221@sss.pgh.pa.us
Whole thread Raw
In response to Regclass and quoted table names  (Emmanuel Cecchet <manu@asterdata.com>)
Responses Re: Regclass and quoted table names  (Emmanuel Cecchet <manu@asterdata.com>)
List pgsql-hackers
Emmanuel Cecchet <manu@asterdata.com> writes:
> It looks like the behavior of regclass is not consistent when table 
> names are quoted. The name is returned without the quotes if the name is 
> lower case with eventual trailing numbers, otherwise it is returned with 
> quotes.

It's intentional that it quotes only when needed.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Regclass and quoted table names
Next
From: Tom Lane
Date:
Subject: Re: Make SIGHUP less painful if pg_hba.conf is not readable