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

Commit 26fcd25

Browse files
committed
Remove SetQuerySnapshot() from FETCH processing. No longer necessary
or appropriate, since the snapshot that will be used by the cursor was frozen when ExecutorStart was run for it.
1 parent 959e61e commit 26fcd25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/tcop/utility.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.155 2002/05/17 18:32:52 petere Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.156 2002/05/21 22:18:08 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -234,8 +234,6 @@ ProcessUtility(Node *parsetree,
234234
bool forward;
235235
int count;
236236

237-
SetQuerySnapshot();
238-
239237
forward = (bool) (stmt->direction == FORWARD);
240238

241239
/*

0 commit comments

Comments
 (0)