Re: [HACKERS] main tree is (slightly) damaged

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] main tree is (slightly) damaged
Дата
Msg-id 135.936807393@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] main tree is (slightly) damaged  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> postgres=> select * from pg_tables;
> ERROR:  nodeRead: Bad type 0

Ah-hah.  I was able to duplicate this problem on a local Linux box.
It seems that some implementations of vsnprintf() return -1 when the
data doesn't fit in the available space, rather than the size of the
available space as the man page specifies.  This broke my recent
revision of stringinfo.c.  Grumble.  Will commit a fix shortly.
        regards, tom lane


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: PG_UPGRADE status?
Следующее
От: Patrick Logan
Дата:
Сообщение: Problem enabling pltcl