postgresql/src
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
..
backend Fix CreatePolicy, pg_dump -v; psql and doc updates 2014-10-03 16:31:53 -04:00
bin Fix CreatePolicy, pg_dump -v; psql and doc updates 2014-10-03 16:31:53 -04:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Still another typo fix for 0709b7ee72. 2014-10-03 11:39:38 -04:00
interfaces Follow the RFCs more closely in libpq server certificate hostname check. 2014-09-15 16:16:06 +03:00
makefiles Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
pl Check number of parameters in RAISE statement at compile time. 2014-09-02 15:56:50 +03:00
port Add support for optional_argument to our own getopt_long() implementation. 2014-09-10 17:21:50 +02:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Fix CreatePolicy, pg_dump -v; psql and doc updates 2014-10-03 16:31:53 -04:00
timezone Fix bogus logic for zic -P option. 2014-10-03 14:48:11 -04:00
tools Add valgrind suppression for padding bytes in twophase records. 2014-09-01 15:59:44 +02:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix TAP checks when current directory name contains spaces 2014-09-17 00:54:12 -04:00
Makefile.shlib Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00