event trigger pg_dump fix
event trigger pg_dump fix
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 <tgl@sss.pgh.pa.us>
Дата:
Petr Jelinek 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
On 06/01/15 01:02, Tom Lane wrote: > Petr Jelinek 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