Commit Graph

14 Commits (3adc760fb92eab1a8720337a8bf9b66486609eb3)

Author SHA1 Message Date
Tom Lane 8bc225e799 Relax permissions checks on dbsize functions, per discussion. Revert out all 19 years ago
Tom Lane cc26599b72 Restrict pg_relation_size to relation owner, pg_database_size to DB owner, 19 years ago
Alvaro Herrera 576027bb3f Fix a race condition that caused pg_database_size() and pg_tablespace_size() 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 74686b6de7 Get rid of some unnecessary dependencies on DataDir: wherever possible, 19 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Peter Eisentraut 07bb9f086b Message corrections 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Alvaro Herrera a7084efd2d Fix confusion between relfilenode and Oid. 21 years ago
Neil Conway e4d9b69779 Rename pg_complete_relation_size() to pg_total_relation_size(), for the 21 years ago
Tom Lane f023fc6689 Use ReadDir() not readdir() so as to have some modicum of error checking. 21 years ago
Tom Lane 35c4764f88 Un-Windows-ify newlines. 21 years ago
Bruce Momjian 358a897fa1 Move dbsize functions into the backend. New functions: 21 years ago
Tom Lane eb5949d190 Arrange for the postmaster (and standalone backends, initdb, etc) to 21 years ago
Tom Lane 3f749924f8 Simplify uses of readdir() by creating a function ReadDir() that 21 years ago
Neil Conway a4374f9070 Remove second argument from textToQualifiedNameList(), as it is no longer 21 years ago
Bruce Momjian 2daed8c5b3 Update copyrights that were missed. 21 years ago
Tom Lane d9b68c8061 Code review for recent dbsize changes. Fix some thinkos, enforce coding 22 years ago
Bruce Momjian baace400c7 Remove line specifying Andreas as author. 22 years ago
Bruce Momjian 528ac10c7c The current implementation of dbsize doesn't handle tables in 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian 676bb9a6b4 dbsize modification to support tablespaces 22 years ago
Tom Lane 7a57a67278 Replace opendir/closedir calls throughout the backend with AllocateDir 22 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane 8fd5b3ed67 Error message editing in contrib (mostly by Joe Conway --- thanks Joe!) 23 years ago
Bruce Momjian e50f52a074 pgindent run. 24 years ago
Tom Lane 64505ed58b Code review for standalone composite types, query-specified composite 24 years ago
Tom Lane 4ab8e69094 has_table_privilege spawns scions has_database_privilege, has_function_privilege, 24 years ago
Bruce Momjian b0f5086e41 oid is needed, it is added at the end of the struct (after the null 24 years ago
Tom Lane 44fbe20d62 Restructure indexscan API (index_beginscan, index_getnext) per 24 years ago
Tom Lane 688781d450 Fix contrib/dbsize for schema-qualified table names. 24 years ago
Bruce Momjian ad0787b2bd I've written on like that a while ago: 24 years ago