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
a8a93f72
Commit
a8a93f72
authored
Dec 30, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename send_rfq to send_ready_for_query.
parent
c86be11d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+8
-8
No files found.
src/backend/tcop/postgres.c
View file @
a8a93f72
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.47
2 2005/12/30 22:55:20
momjian Exp $
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.47
3 2005/12/30 23:49:48
momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -2432,7 +2432,7 @@ PostgresMain(int argc, char *argv[], const char *username)
char
stack_base
;
StringInfoData
input_message
;
sigjmp_buf
local_sigjmp_buf
;
volatile
bool
send_r
fq
=
true
;
volatile
bool
send_r
eady_for_query
=
true
;
#define PendingConfigOption(name,val) \
(guc_names = lappend(guc_names, pstrdup(name)), \
...
...
@@ -3115,7 +3115,7 @@ PostgresMain(int argc, char *argv[], const char *username)
PG_SETMASK
(
&
UnBlockSig
);
if
(
!
ignore_till_sync
)
send_r
fq
=
true
;
/* initially, or after error */
send_r
eady_for_query
=
true
;
/* initially, or after error */
/*
* Non-error queries loop here.
...
...
@@ -3150,7 +3150,7 @@ PostgresMain(int argc, char *argv[], const char *username)
* processing of batched messages, and because we don't want to report
* uncommitted updates (that confuses autovacuum).
*/
if
(
send_r
fq
)
if
(
send_r
eady_for_query
)
{
if
(
IsTransactionOrTransactionBlock
())
{
...
...
@@ -3166,7 +3166,7 @@ PostgresMain(int argc, char *argv[], const char *username)
}
ReadyForQuery
(
whereToSendOutput
);
send_r
fq
=
false
;
send_r
eady_for_query
=
false
;
}
/*
...
...
@@ -3216,7 +3216,7 @@ PostgresMain(int argc, char *argv[], const char *username)
exec_simple_query
(
query_string
);
send_r
fq
=
true
;
send_r
eady_for_query
=
true
;
}
break
;
...
...
@@ -3297,7 +3297,7 @@ PostgresMain(int argc, char *argv[], const char *username)
/* commit the function-invocation transaction */
finish_xact_command
();
send_r
fq
=
true
;
send_r
eady_for_query
=
true
;
break
;
case
'C'
:
/* close */
...
...
@@ -3384,7 +3384,7 @@ PostgresMain(int argc, char *argv[], const char *username)
case
'S'
:
/* sync */
pq_getmsgend
(
&
input_message
);
finish_xact_command
();
send_r
fq
=
true
;
send_r
eady_for_query
=
true
;
break
;
/*
...
...
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