aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-29 17:24:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-29 17:24:29 +0000
commit8bc225e7990a791dadf5f472c01fd9477a80d5db (patch)
tree35af616063cebb1c4abbe475fabc409ca5dda9c4 /src/tutorial/funcs.c
parent3b5f5d9873d4b14063c647e0138c096b201bd330 (diff)
downloadpostgresql-8bc225e7990a791dadf5f472c01fd9477a80d5db.tar.gz
postgresql-8bc225e7990a791dadf5f472c01fd9477a80d5db.zip
Relax permissions checks on dbsize functions, per discussion. Revert out all
checks for individual-table-size functions, since anyone in the database could get approximate values from pg_class.relpages anyway. Allow database-size to users with CONNECT privilege for the target database (note that this is granted by default). Allow tablespace-size if the user has CREATE privilege on the tablespace (which is *not* granted by default), or if the tablespace is the default tablespace for the current database (since we treat that as implicitly allowing use of the tablespace).
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions