Re: [PATCHES] dollar quoting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] dollar quoting
Date: 2004-02-15 22:17:18
Message-ID: 11070.1076883438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-02-16 01:23:50 Re: No Timeout in SELECT..FOR UPDATE
Previous Message Stephan Szabo 2004-02-15 21:48:12 Re: No Timeout in SELECT..FOR UPDATE

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-02-16 02:16:21 Re: [PATCHES] dollar quoting
Previous Message Chris Campbell 2004-02-15 21:50:41 Crash when calling a pl/pgsql function with no row to pass as an argument