1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Revert FETCH/MOVE int64 patch. Was using incorrect checks for

fetch/move in scan.l.
This commit is contained in:
Bruce Momjian
2006-09-03 03:19:45 +00:00
parent d387a07050
commit 0e20c48561
10 changed files with 51 additions and 115 deletions

View File

@ -14,7 +14,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/portalcmds.c,v 1.52 2006/09/02 18:17:17 momjian Exp $
* $PostgreSQL: pgsql/src/backend/commands/portalcmds.c,v 1.53 2006/09/03 03:19:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -177,7 +177,7 @@ PerformPortalFetch(FetchStmt *stmt,
char *completionTag)
{
Portal portal;
int64 nprocessed;
long nprocessed;
/*
* Disallow empty-string cursor name (conflicts with protocol-level
@ -210,7 +210,7 @@ PerformPortalFetch(FetchStmt *stmt,
/* Return command status if wanted */
if (completionTag)
snprintf(completionTag, COMPLETION_TAG_BUFSIZE, "%s " INT64_FORMAT,
snprintf(completionTag, COMPLETION_TAG_BUFSIZE, "%s %ld",
stmt->ismove ? "MOVE" : "FETCH",
nprocessed);
}