Missing newlines in verbose logs of pg_dump, introduced by RLS patch

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Missing newlines in verbose logs of pg_dump, introduced by RLS patch
Date: 2014-09-28 04:36:51
Message-ID: CAB7nPqRV0ac4gsy1ojOjeEPJaNeUnqnFiyGQFAAPVLQowy8yLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Recent commit 491c029 introducing RLS has broken a bit the verbose logs of
pg_dump, one message missing a newline:
+ if (g_verbose)
+ write_msg(NULL, "reading row-security enabled for
table \"%s\"",
+ tbinfo->dobj.name);
The patch attached corrects that.
Regards,
--
Michael

Attachment Content-Type Size
20140928_rls_pgdump_fix.patch application/octet-stream 459 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2014-09-28 06:21:36 Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Previous Message David Rowley 2014-09-28 04:32:21 Re: Patch to support SEMI and ANTI join removal