postgresql/src/backend/utils
Bruce Momjian de9801fc62 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
2002-08-20 04:46:00 +00:00
..
adt Add current_database(). 2002-08-20 04:46:00 +00:00
cache Code review of CLUSTER patch. Clean up problems with relcache getting 2002-08-11 21:17:35 +00:00
error Neil's patch was supposed to remove this, too. 2002-08-11 00:18:59 +00:00
fmgr Remove obsolete uses of lanispl. Only used in pg_dump now, but can be 2002-08-13 17:22:08 +00:00
hash Update copyright to 2002. 2002-06-20 20:29:54 +00:00
init Change memory-space accounting mechanism in tuplesort.c and tuplestore.c 2002-08-12 00:36:12 +00:00
mb Fix bug in pg_convert() per report from MaC.Yui. 2002-08-19 04:08:08 +00:00
misc Add db-local user names, per discussion on hackers. 2002-08-18 03:03:26 +00:00
mmgr Change memory-space accounting mechanism in tuplesort.c and tuplestore.c 2002-08-12 00:36:12 +00:00
sort Change memory-space accounting mechanism in tuplesort.c and tuplestore.c 2002-08-12 00:36:12 +00:00
time This patch fixes one serious bug (runaway INSERT) and a few rare (and 2002-07-30 16:08:33 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_fmgrtab.sh Remove unused system table columns: 2002-07-24 19:11:14 +00:00
Makefile Fix failure to relink postmaster executable in the first make run if only a 2002-08-10 17:59:28 +00:00