Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
a8a93f72
Commit
a8a93f72
authored
19 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Rename send_rfq to send_ready_for_query.
parent
c86be11d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/tcop/postgres.c
+8
-8
8 additions, 8 deletions
src/backend/tcop/postgres.c
with
8 additions
and
8 deletions
src/backend/tcop/postgres.c
+
8
−
8
View file @
a8a93f72
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.47
2
2005/12/30 2
2:55:20
momjian Exp $
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.47
3
2005/12/30 2
3: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
;
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment