Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c0ac38d0
Commit
c0ac38d0
authored
May 24, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log queries for client-side prepare/execute. Simon Riggs
Log prepare query during execute. Bruce Momjian
parent
f534820d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
174 additions
and
68 deletions
+174
-68
src/backend/commands/prepare.c
src/backend/commands/prepare.c
+6
-3
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+168
-65
No files found.
src/backend/commands/prepare.c
View file @
c0ac38d0
...
...
@@ -10,7 +10,7 @@
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.3
6 2005/01/01 05:43:06
momjian Exp $
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.3
7 2005/05/24 04:18:04
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -104,9 +104,12 @@ PrepareQuery(PrepareStmt *stmt)
/* Generate plans for queries. Snapshot is already set. */
plan_list
=
pg_plan_queries
(
query_list
,
NULL
,
false
);
/* Save the results. */
/*
* Save the results. We don't have the query string for this PREPARE,
* but we do have the string we got from the client, so use that.
*/
StorePreparedStatement
(
stmt
->
name
,
NULL
,
/* text form not available */
debug_query_string
,
commandTag
,
query_list
,
plan_list
,
...
...
src/backend/tcop/postgres.c
View file @
c0ac38d0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment