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

Change FETCH/MOVE to use int8.

Dhanaraj M
This commit is contained in:
Bruce Momjian
2006-09-02 18:17:18 +00:00
parent 87eb130ad8
commit 6c785d599d
10 changed files with 109 additions and 52 deletions

View File

@ -14,7 +14,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/portalcmds.c,v 1.51 2006/08/29 02:11:29 momjian Exp $
* $PostgreSQL: pgsql/src/backend/commands/portalcmds.c,v 1.52 2006/09/02 18:17:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -177,7 +177,7 @@ PerformPortalFetch(FetchStmt *stmt,
char *completionTag)
{
Portal portal;
long nprocessed;
int64 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 %ld",
snprintf(completionTag, COMPLETION_TAG_BUFSIZE, "%s " INT64_FORMAT,
stmt->ismove ? "MOVE" : "FETCH",
nprocessed);
}