Re: Quoting of psql \d output
| От | Tom Lane |
|---|---|
| Тема | Re: Quoting of psql \d output |
| Дата | |
| Msg-id | 645.1072157250@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Quoting of psql \d output (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Quoting of psql \d output
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> psql \d always double-quotes table names:
> Table "public.xx"
Yeah, that has bugged me for a while, because it is in fact *wrong* ...
the above representation of a qualified name is incorrect.
> This patch uses pg_dump fmtId() to double-quote only when necessary.
Seems good, but I think your Makefile patch is a brick or two shy of
a load. Don't you need something to make sure that parser/keywords.o
is up to date?
More generally, maybe we ought to think about moving fmtId() and perhaps
other parts of dumputils out of pg_dump and into some
more-easily-accessible library.
regards, tom lane
В списке pgsql-patches по дате отправления: