postgresql/src/bin/pg_dump
Stephen Frost 78d72563ef Fix CreatePolicy, pg_dump -v; psql and doc updates
Peter G pointed out that valgrind was, rightfully, complaining about
CreatePolicy() ending up copying beyond the end of the parsed policy
name.  Name is a fixed-size type and we need to use namein (through
DirectFunctionCall1()) to flush out the entire array before we pass
it down to heap_form_tuple.

Michael Paquier pointed out that pg_dump --verbose was missing a
newline and Fabrízio de Royes Mello further pointed out that the
schema was also missing from the messages, so fix those also.

Also, based on an off-list comment from Kevin, rework the psql \d
output to facilitate copy/pasting into a new CREATE or ALTER POLICY
command.

Lastly, improve the pg_policies view and update the documentation for
it, along with a few other minor doc corrections based on an off-list
discussion with Adam Brightwell.
2014-10-03 16:31:53 -04:00
..
po Translation updates 2014-07-21 01:08:04 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
common.c Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
compress_io.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
compress_io.h Properly detect read and write errors in pg_dump/dumpall, and pg_restore 2014-05-05 20:27:16 -04:00
dumputils.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
dumputils.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
keywords.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
Makefile Update copyright for 2014 2014-01-07 16:05:30 -05:00
nls.mk Add missing source files to nls.mk 2014-07-15 10:10:42 -04:00
parallel.c Use type pgsocket for Windows pipe emulation socket calls 2014-06-16 15:24:38 -04:00
parallel.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_backup.h Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
pg_backup_archiver.c Fix pg_dump's --if-exists for large objects 2014-09-30 12:06:37 -03:00
pg_backup_archiver.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pg_backup_custom.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pg_backup_db.c Fix pg_restore's processing of old-style BLOB COMMENTS data. 2014-06-12 20:14:32 -04:00
pg_backup_db.h pg_dump: Further reduce reliance on global variables. 2012-02-07 10:07:02 -05:00
pg_backup_directory.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pg_backup_null.c Properly detect read and write errors in pg_dump/dumpall, and pg_restore 2014-05-05 20:27:16 -04:00
pg_backup_tar.c Small message fixes 2014-08-09 00:07:00 -04:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_backup_utils.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_dump.c Fix CreatePolicy, pg_dump -v; psql and doc updates 2014-10-03 16:31:53 -04:00
pg_dump.h Fix relcache for policies, and doc updates 2014-09-26 12:46:26 -04:00
pg_dump_sort.c Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
pg_dumpall.c Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
pg_restore.c Code review for row security. 2014-09-24 16:32:22 -04:00