postgresql/src/backend
Peter Eisentraut 93a6be63a5 Revise the permission checking on user mapping DDL commands.
CREATE/ALTER/DROP USER MAPPING are now allowed either by the server owner or
by a user with USAGE privileges for his own user name.  This is more or less
what the SQL standard wants anyway (plus "implementation-defined")

Hide information_schema.user_mapping_options.option_value, unless the current
user is the one associated with the user mapping, or is the server owner and
the mapping is for PUBLIC, or is a superuser.  This is to protect passwords.

Also, fix a bug in information_schema._pg_foreign_servers, which hid servers
using wrappers where the current user did not have privileges on the wrapper.
The correct behavior is to hide servers where the current user has no
privileges on the server.
2009-01-20 09:10:20 +00:00
..
access Simplify the writing of amoptions routines by introducing a convenience 2009-01-12 21:02:15 +00:00
bootstrap Update copyright for 2009. 2009-01-01 17:24:05 +00:00
catalog Revise the permission checking on user mapping DDL commands. 2009-01-20 09:10:20 +00:00
commands Revise the permission checking on user mapping DDL commands. 2009-01-20 09:10:20 +00:00
executor Tweak order of operations in BitmapHeapNext() to avoid the case of prefetching 2009-01-12 16:00:41 +00:00
foreign Update copyright for 2009. 2009-01-01 17:24:05 +00:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq Make krb_realm and krb_server_hostname be pg_hba options only, and remove 2009-01-09 10:13:19 +00:00
main Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodes Add vacuum_freeze_table_age GUC option, to control when VACUUM should 2009-01-16 13:27:24 +00:00
optimizer Arrange for function default arguments to be processed properly in expressions 2009-01-09 15:46:11 +00:00
parser Add vacuum_freeze_table_age GUC option, to control when VACUUM should 2009-01-16 13:27:24 +00:00
po Translation updates 2008-01-31 18:04:52 +00:00
port Update copyright for 2009. 2009-01-01 17:24:05 +00:00
postmaster Add vacuum_freeze_table_age GUC option, to control when VACUUM should 2009-01-16 13:27:24 +00:00
regex Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
rewrite Update copyright for 2009. 2009-01-01 17:24:05 +00:00
snowball Update copyright for 2009. 2009-01-01 17:24:05 +00:00
storage Implement prefetching via posix_fadvise() for bitmap index scans. A new 2009-01-12 05:10:45 +00:00
tcop Update comment associated with 'debug_query_string'. 2009-01-07 19:35:43 +00:00
tsearch Fix URL generation in headline. Only tag lexeme will be replaced by space. 2009-01-15 16:33:59 +00:00
utils Use the new text domain names ("postgres-8.4" instead of "postgres") 2009-01-19 15:34:23 +00:00
Makefile Update copyright for 2009. 2009-01-01 17:24:05 +00:00
common.mk Code coverage testing with gcov. Documentation is in the regression test 2008-09-05 12:11:18 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:22 +00:00