1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Change form() to varargform() to prevent portability problems.

This commit is contained in:
Bruce Momjian
1999-06-19 04:54:23 +00:00
parent e786508600
commit 326d8658ad
8 changed files with 49 additions and 49 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.21 1999/06/12 14:07:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.22 1999/06/19 04:54:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -234,7 +234,7 @@ PortalVariableMemoryRealloc(PortalVariableMemory this,
static char *
PortalVariableMemoryGetName(PortalVariableMemory this)
{
return form("%s-var", PortalVariableMemoryGetPortal(this)->name);
return varargform("%s-var", PortalVariableMemoryGetPortal(this)->name);
}
/* ----------------
@@ -312,7 +312,7 @@ PortalHeapMemoryRealloc(PortalHeapMemory this,
static char *
PortalHeapMemoryGetName(PortalHeapMemory this)
{
return form("%s-heap", PortalHeapMemoryGetPortal(this)->name);
return varargform("%s-heap", PortalHeapMemoryGetPortal(this)->name);
}
/* ----------------