postgresql/src/test
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
..
examples Update copyright for 2014 2014-01-07 16:05:30 -05:00
isolation Fix FOR UPDATE NOWAIT on updated tuple chains 2014-08-27 19:15:18 -04:00
locale Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
mb Lots of doc corrections. 2012-04-23 22:43:09 -04:00
performance Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
perl Handle old versions of Test::More 2014-09-10 20:52:35 -04:00
regress Fix CreatePolicy, pg_dump -v; psql and doc updates 2014-10-03 16:31:53 -04:00
thread Remove dependency on wsock32.lib in favor of ws2_32 2014-07-15 14:18:39 +02:00
Makefile Add isolation test to check-world and installcheck-world 2012-03-05 20:19:20 +02:00