Re: Quoting of psql \d output

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-patches(at)postgresql(dot)org
Subject: Re: Quoting of psql \d output
Date: 2003-12-23 15:00:40
Message-ID: 3076.1072191640@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Peter Eisentraut" <peter_e(at)gmx(dot)net> writes:
> Bruce Momjian writes:
>> psql \d always double-quotes table names:

> Yes, and that is conforming to message style rules. Please leave it at that.

The problem is that it is double-quoting a qualified name, which is
something we generally don't produce in messages. I think it's actively
misleading.

A simpler but uglier solution would be to quote the schema and table
names separately:

Table "public"."foo"

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-23 15:00:42 Re: Quoting of psql \d output
Previous Message Bruce Momjian 2003-12-23 14:32:30 Re: Quoting of psql \d output

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-12-23 15:00:42 Re: Quoting of psql \d output
Previous Message Bruce Momjian 2003-12-23 14:32:30 Re: Quoting of psql \d output