Re: Proposal for psql wildcarding behavior w/schemas

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal for psql wildcarding behavior w/schemas
Date: 2002-08-06 05:15:47
Message-ID: 200208060515.g765Flu07194@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-06 05:24:34 Re: Proposal for psql wildcarding behavior w/schemas
Previous Message Stephan Szabo 2002-08-06 05:14:21 Re: char/varchar truncation