Re: psql: \d+ show tablespace of indices

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: psql: \d+ show tablespace of indices
Дата
Msg-id d7r2m2$202j$1@news.hub.org
обсуждение исходный текст
Ответ на psql: \d+ show tablespace of indices  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: psql: \d+ show tablespace of indices  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
"Neil Conway" <neilc@samurai.com> writes
> On Thu, 2005-06-02 at 22:15 -0400, Tom Lane wrote:
> > Does that look better or worse to you?
>
> I agree the patch's format is a bit off. What about
>
>     "mi" btree (i),  tablespace "testspace"
>
> "PRIMARY KEY" is currently separated from the rest of the index
> description via a comma -- although on the other hand the column list
> isn't preceded by a comma. Perhaps this whole format should be
> rethought?
>

yes, you are right, both forms you showed up are better than mine - the
reason I use that format is because add_tablespace_footer() prints a
"Tablespace: \"tablespace_name\"" in the PQExpBufferData. I could hack the
content in the buffer to make it looks better. Is this acceptable?

Regards,
Qingqing



В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Unused variable in explain.c
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql: \d+ show tablespace of indices