aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/misc.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2009-01-07 19:51:21 +0000
committerBruce Momjian <bruce@momjian.us>2009-01-07 19:51:21 +0000
commit6b88393058ec4c2ceb9b5a99d4c2efeb54e5e69b (patch)
tree869d14f430de1cdb367659116d328ce2652f410d /src/backend/utils/adt/misc.c
parent8faffe6a52b421decc141f16989fc17d6681ede1 (diff)
downloadpostgresql-6b88393058ec4c2ceb9b5a99d4c2efeb54e5e69b.tar.gz
postgresql-6b88393058ec4c2ceb9b5a99d4c2efeb54e5e69b.zip
Add comment that it is difficult to access the more accurate
'query_string' from current_query().
Diffstat (limited to 'src/backend/utils/adt/misc.c')
-rw-r--r--src/backend/utils/adt/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c
index d9936825a44..2042f96f82a 100644
--- a/src/backend/utils/adt/misc.c
+++ b/src/backend/utils/adt/misc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $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 $
*
*-------------------------------------------------------------------------
*/
@@ -59,6 +59,7 @@ current_database(PG_FUNCTION_ARGS)
Datum
current_query(PG_FUNCTION_ARGS)
{
+ /* there is no easy way to access the more concise 'query_string' */
if (debug_query_string)
PG_RETURN_TEXT_P(cstring_to_text(debug_query_string));
else