Обсуждение: event trigger pg_dump fix

Поиск
Список
Период
Сортировка

event trigger pg_dump fix

От
Petr Jelinek
Дата:
Hi,

Attached is fix for
http://www.postgresql.org/message-id/1420492505.23613.15.camel@bloodnok.com

It was dumping comment with NULL owner while the function expects
empty string for objects without owner (there is pg_strdup down the
line).

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

Вложения

Re: event trigger pg_dump fix

От
Tom Lane
Дата:
Petr Jelinek <petr@2ndquadrant.com> writes:
> Attached is fix for
> http://www.postgresql.org/message-id/1420492505.23613.15.camel@bloodnok.com

> It was dumping comment with NULL owner while the function expects
> empty string for objects without owner (there is pg_strdup down the
> line).

This isn't right either: event triggers do have owners.
        regards, tom lane



Re: event trigger pg_dump fix

От
Petr Jelinek
Дата:
On 06/01/15 01:02, Tom Lane wrote:
> Petr Jelinek <petr@2ndquadrant.com> writes:
>> Attached is fix for
>> http://www.postgresql.org/message-id/1420492505.23613.15.camel@bloodnok.com
>
>> It was dumping comment with NULL owner while the function expects
>> empty string for objects without owner (there is pg_strdup down the
>> line).
>
> This isn't right either: event triggers do have owners.
>

Bah, of course, stupid me.


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

Вложения