diff options
| author | Pavan Deolasee | 2017-06-14 06:12:23 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2017-06-14 06:12:23 +0000 |
| commit | 18b853db9450c1418ddb3f356424ed65d1ac98a6 (patch) | |
| tree | 7c0f620aa254f4cdb9f1fbe81136d7623a3a6fe6 /src/pl | |
| parent | 15dd5274c323fb93e4e3ea9ad2185aaaec10f79c (diff) | |
Revert "Collect and return query substrings corresponding to each SQL statement"
This reverts commit 455ff923454e78d80b77639a381db9b05c776577. Core Postgres has
now added support for extracting query string for each command in a
multi-command SQL. So we can use that facility instead of cooking up something
on our own.
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plpgsql/src/pl_gram.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpgsql/src/pl_gram.y b/src/pl/plpgsql/src/pl_gram.y index c2e64957a5..94f1f58593 100644 --- a/src/pl/plpgsql/src/pl_gram.y +++ b/src/pl/plpgsql/src/pl_gram.y @@ -3557,7 +3557,7 @@ check_sql_expr(const char *stmt, int location, int leaderlen) error_context_stack = &syntax_errcontext; oldCxt = MemoryContextSwitchTo(plpgsql_compile_tmp_cxt); - (void) raw_parser(stmt, NULL); + (void) raw_parser(stmt); MemoryContextSwitchTo(oldCxt); /* Restore former ereport callback */ |
