psql: \d+ shows OID-ness

Поиск
Список
Период
Сортировка
От Neil Conway
Тема psql: \d+ shows OID-ness
Дата
Msg-id 1082616261.7010.53.camel@tokyo
обсуждение исходный текст
Ответы Re: psql: \d+ shows OID-ness  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
This patch makes psql's \d+ command indicate whether the table in
question contains OIDs or not. I didn't add this information to \d, on
the grounds that \d is more commonly used and few people will care
whether the table as OIDs. Example output:

nconway=# create table t1 () with oids;
CREATE TABLE
nconway=# create table t2 () without oids;
CREATE TABLE
nconway=# \d+ t1
            Table "public.t1"
 Column | Type | Modifiers | Description
--------+------+-----------+-------------
Contains OIDs: yes

nconway=# \d+ t2
            Table "public.t2"
 Column | Type | Modifiers | Description
--------+------+-----------+-------------
Contains OIDs: no

I also fixed a bunch of markup in the psql reference manual (which takes
up about 90% of the patch itself).

Barring any objections I'll apply this patch within 24 hours.

-Neil


Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for socket error msgs on win32
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [JDBC] EXECUTE command tag returns actual command