diff options
author | Bruce Momjian <bruce@momjian.us> | 2008-04-04 16:57:21 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2008-04-04 16:57:21 +0000 |
commit | f96928fde90697bd6eeda85a89225e31c0b5a16d (patch) | |
tree | 9cb46365cd4271c81c01f56fe3f7d7b280b76de6 /src/include/utils/builtins.h | |
parent | cfaf8b6b67d9cfbfe48dba8d88b4de0adc256a34 (diff) | |
download | postgresql-f96928fde90697bd6eeda85a89225e31c0b5a16d.tar.gz postgresql-f96928fde90697bd6eeda85a89225e31c0b5a16d.zip |
Implement current_query(), that shows the currently executing query.
At the same time remove dblink/dblink_current_query() as it is no longer
necessary
*BACKWARD COMPATIBILITY ISSUE* for dblink
Tomas Doran
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index f719b492c14..f80802f9bff 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.310 2008/03/25 22:42:45 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.311 2008/04/04 16:57:21 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -414,6 +414,7 @@ extern Datum pg_ls_dir(PG_FUNCTION_ARGS); extern Datum nullvalue(PG_FUNCTION_ARGS); extern Datum nonnullvalue(PG_FUNCTION_ARGS); extern Datum current_database(PG_FUNCTION_ARGS); +extern Datum current_query(PG_FUNCTION_ARGS); extern Datum pg_cancel_backend(PG_FUNCTION_ARGS); extern Datum pg_reload_conf(PG_FUNCTION_ARGS); extern Datum pg_tablespace_databases(PG_FUNCTION_ARGS); |