Re: [PATCHES] dollar quoting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] dollar quoting
Date
Msg-id 11070.1076883438@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] dollar quoting  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [PATCHES] dollar quoting  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> andrew=# create table ab$cd$ef (ef$cd$ab text);
> CREATE TABLE
> andrew=# \d ab$cd$ef
> Did not find any relation named "ab$cd$ef".

Hmph.  I always thought that "$" was only special at the end of a regex,
but that doesn't seem to be how our implementation treats it.  Anyway
this is not a bug, it is a feature: the argument of \d is a regex.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: No Timeout in SELECT..FOR UPDATE
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: No Timeout in SELECT..FOR UPDATE