mirror of https://github.com/postgres/postgres
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.
This commit is contained in:
parent
959e61e917
commit
26fcd25c57
|
@ -10,7 +10,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.155 2002/05/17 18:32:52 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.156 2002/05/21 22:18:08 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -234,8 +234,6 @@ ProcessUtility(Node *parsetree,
|
||||||
bool forward;
|
bool forward;
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
SetQuerySnapshot();
|
|
||||||
|
|
||||||
forward = (bool) (stmt->direction == FORWARD);
|
forward = (bool) (stmt->direction == FORWARD);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue