Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a8a93f7

Browse files
committed
Rename send_rfq to send_ready_for_query.
1 parent c86be11 commit a8a93f7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/backend/tcop/postgres.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.472 2005/12/30 22:55:20 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.473 2005/12/30 23:49:48 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2432,7 +2432,7 @@ PostgresMain(int argc, char *argv[], const char *username)
24322432
char stack_base;
24332433
StringInfoData input_message;
24342434
sigjmp_buf local_sigjmp_buf;
2435-
volatile bool send_rfq = true;
2435+
volatile bool send_ready_for_query = true;
24362436

24372437
#define PendingConfigOption(name,val) \
24382438
(guc_names = lappend(guc_names, pstrdup(name)), \
@@ -3115,7 +3115,7 @@ PostgresMain(int argc, char *argv[], const char *username)
31153115
PG_SETMASK(&UnBlockSig);
31163116

31173117
if (!ignore_till_sync)
3118-
send_rfq = true; /* initially, or after error */
3118+
send_ready_for_query = true; /* initially, or after error */
31193119

31203120
/*
31213121
* Non-error queries loop here.
@@ -3150,7 +3150,7 @@ PostgresMain(int argc, char *argv[], const char *username)
31503150
* processing of batched messages, and because we don't want to report
31513151
* uncommitted updates (that confuses autovacuum).
31523152
*/
3153-
if (send_rfq)
3153+
if (send_ready_for_query)
31543154
{
31553155
if (IsTransactionOrTransactionBlock())
31563156
{
@@ -3166,7 +3166,7 @@ PostgresMain(int argc, char *argv[], const char *username)
31663166
}
31673167

31683168
ReadyForQuery(whereToSendOutput);
3169-
send_rfq = false;
3169+
send_ready_for_query = false;
31703170
}
31713171

31723172
/*
@@ -3216,7 +3216,7 @@ PostgresMain(int argc, char *argv[], const char *username)
32163216

32173217
exec_simple_query(query_string);
32183218

3219-
send_rfq = true;
3219+
send_ready_for_query = true;
32203220
}
32213221
break;
32223222

@@ -3297,7 +3297,7 @@ PostgresMain(int argc, char *argv[], const char *username)
32973297
/* commit the function-invocation transaction */
32983298
finish_xact_command();
32993299

3300-
send_rfq = true;
3300+
send_ready_for_query = true;
33013301
break;
33023302

33033303
case 'C': /* close */
@@ -3384,7 +3384,7 @@ PostgresMain(int argc, char *argv[], const char *username)
33843384
case 'S': /* sync */
33853385
pq_getmsgend(&input_message);
33863386
finish_xact_command();
3387-
send_rfq = true;
3387+
send_ready_for_query = true;
33883388
break;
33893389

33903390
/*

0 commit comments

Comments
 (0)