aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-08-20 04:46:00 +0000
committerBruce Momjian <bruce@momjian.us>2002-08-20 04:46:00 +0000
commitde9801fc62ba9ed905c2f20686459a206d453453 (patch)
treee6ed5e64ba97e2156230373abb038af9138149be /src/backend/utils/adt/pgstatfuncs.c
parentf736fdb0222ded716bd4f0cdddc06158773d9bc1 (diff)
downloadpostgresql-de9801fc62ba9ed905c2f20686459a206d453453.tar.gz
postgresql-de9801fc62ba9ed905c2f20686459a206d453453.zip
Add current_database().
> Quick system function to pull out the current database. > > I've used this a number of times to allow stored procedures to find out > where they are. Especially useful for those that do logging or hit a > remote server. > > It's called current_database() to match with current_user(). It's also a necessity for an informational schema. The catalog (database) name is required in a number of places. Rod Taylor
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions