We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8faffe6 commit 6b88393Copy full SHA for 6b88393
src/backend/utils/adt/misc.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/adt/misc.c,v 1.67 2009/01/01 17:23:49 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/misc.c,v 1.68 2009/01/07 19:51:21 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -59,6 +59,7 @@ current_database(PG_FUNCTION_ARGS)
59
Datum
60
current_query(PG_FUNCTION_ARGS)
61
{
62
+ /* there is no easy way to access the more concise 'query_string' */
63
if (debug_query_string)
64
PG_RETURN_TEXT_P(cstring_to_text(debug_query_string));
65
else
0 commit comments