Re: pgsql: Revive line type

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Revive line type
Дата
Msg-id 20140505155835.GD27783@awork2.anarazel.de
обсуждение исходный текст
Ответ на pgsql: Revive line type  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql: Revive line type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Hi Peter,

On 2013-10-10 02:43:20 +0000, Peter Eisentraut wrote:
> Revive line type
>
> Change the input/output format to {A,B,C}, to match the internal
> representation.
>
> Complete the implementations of line_in, line_out, line_recv, line_send.
> Remove comments and error messages about the line type not being
> implemented.  Add regression tests for existing line operators and
> functions.
>
> Reviewed-by: rui hua <365507506hua@gmail.com>
> Reviewed-by: Álvaro Herrera <alvherre@2ndquadrant.com>
> Reviewed-by: Jeevan Chalke <jeevan.chalke@enterprisedb.com>

That commit missed to update pg_type.h to the changed length of the line
type. Patch attached.

That oversight leads to accesses beyond the length of the tuple in
routines like datumCopy().

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix case of pg_dump -Fc to an unseekable file (such as a pipe).
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Add SGML markup tags to 9.4 release notes