Re: Re: [COMMITTERS] pgsql: Add column storage type to psql \d+ display.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Re: [COMMITTERS] pgsql: Add column storage type to psql \d+ display.
Дата
Msg-id 20080718033557.GT3934@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Add column storage type to psql \d+ display.  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Re: [COMMITTERS] pgsql: Add column storage type to psql \d+ display.
Список pgsql-hackers
Bruce Momjian wrote:
> Alvaro Herrera wrote:

> > I think this patch has caused this new warning in psql:
> > 
> > /pgsql//source/00head/src/bin/psql/describe.c: In function ?describeOneTableDetails?:
> > /pgsql//source/00head/src/bin/psql/describe.c:832: warning: ?tableinfo.relkind? may be used uninitialized in this
function
> 
> I don't see that warning with my compiler so I have no way of testing
> this, but I do see this line pretty high in the function:
> 
>         tableinfo.relkind = *(PQgetvalue(res, 0, 1));

But it's before the first "goto error_return", after which it is checked.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add column storage type to psql \d+ display.
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Load spikes on 8.1.11