Re: Proposal for psql wildcarding behavior w/schemas - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Proposal for psql wildcarding behavior w/schemas
Date
Msg-id 200208060515.g765Flu07194@candle.pha.pa.us
Whole thread Raw
In response to Re: Proposal for psql wildcarding behavior w/schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal for psql wildcarding behavior w/schemas
List pgsql-hackers
Tom Lane wrote:
> I said:
> > So far as I recall, no one's really taken up the challenge of deciding
> > how psql's various \d commands should work in the presence of schemas.
> > Here's a straw-man proposal:
> 
> It occurs to me that I wasn't thinking about the effects of
> double-quoted identifiers.  Should dot, star, and question mark
> be taken as non-special characters if they're inside double quotes?
> (Probably.)  Does that mean that we don't need backslash-oriented
> escaping conventions?  (Maybe; would people expect 'em anyway?)
> Any other implications I missed?  (Very likely.)

Uh, if we follow the shell rules, quote-star-quote means star has no
special meaning:
$ echo "*"*
$ echo \**

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: char/varchar truncation
Next
From: Tom Lane
Date:
Subject: Re: Proposal for psql wildcarding behavior w/schemas