postgresql/src/test/regress
Tom Lane 7449427a1e Clean up some loose ends from the column privileges patch: add
has_column_privilege and has_any_column_privilege SQL functions; fix the
information_schema views that are supposed to pay attention to column
privileges; adjust pg_stats to show stats for any column you have select
privilege on; and fix COPY to allow copying a subset of columns if the user
has suitable per-column privileges for all the columns.

To improve efficiency of some of the information_schema views, extend the
has_xxx_privilege functions to allow inquiring about the OR of a set of
privileges in just one call.  This is just exposing capability that already
existed in the underlying aclcheck routines.

In passing, make the information_schema views report the owner's own
privileges as being grantable, since Postgres assumes this even when the grant
option bit is not set in the ACL.  This is a longstanding oversight.

Also, make the new has_xxx_privilege functions for foreign data objects follow
the same coding conventions used by the older ones.

Stephen Frost and Tom Lane
2009-02-06 21:15:12 +00:00
..
data Avoid regression test cases that fail in locales that sort "v" and "w" 2009-01-19 14:24:13 +00:00
expected Clean up some loose ends from the column privileges patch: add 2009-02-06 21:15:12 +00:00
input Fix a couple of snapshot management bugs in the new ResourceOwner world: 2008-12-04 14:51:02 +00:00
output Fix a couple of snapshot management bugs in the new ResourceOwner world: 2008-12-04 14:51:02 +00:00
sql Clean up some loose ends from the column privileges patch: add 2009-02-06 21:15:12 +00:00
GNUmakefile Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
parallel_schedule Revert updatable views 2009-01-27 12:40:15 +00:00
pg_regress_main.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pg_regress.c Change warning-silencing code not to cast the pointer type, instead 2009-01-28 15:32:21 +00:00
pg_regress.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
regress.c Fix executor/spi.h to follow our usual conventions for include files, ie, 2009-01-07 13:44:37 +00:00
regressplans.sh Tweak regressplans.sh to use any already-set PGOPTIONS. 2000-12-18 02:45:47 +00:00
resultmap Rewrite ECPG regression test driver in C, by splitting the standard 2007-06-12 11:07:34 +00:00
serial_schedule Revert updatable views 2009-01-27 12:40:15 +00:00