Re: [HACKERS] event trigger pg_dump fix

2015-01-05 Thread Petr Jelinek
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.ca...@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).

Re: [HACKERS] event trigger pg_dump fix

2015-01-05 Thread Tom Lane
Petr Jelinek writes: > Attached is fix for > http://www.postgresql.org/message-id/1420492505.23613.15.ca...@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: eve

[HACKERS] event trigger pg_dump fix

2015-01-05 Thread Petr Jelinek
Hi, Attached is fix for http://www.postgresql.org/message-id/1420492505.23613.15.ca...@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.2ndQuadr