mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 15:02:33 +03:00
Rename to vararg_format().
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.12 1999/06/19 04:54:19 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.13 1999/06/19 05:00:28 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,11 +22,11 @@ static char FormBuf[FormMaxSize];
|
||||
|
||||
|
||||
/* ----------------
|
||||
* varargform
|
||||
* vararg_format
|
||||
* ----------------
|
||||
*/
|
||||
char *
|
||||
varargform(const char *fmt,...)
|
||||
vararg_format(const char *fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.22 1999/06/19 04:54:19 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.23 1999/06/19 05:00:29 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -234,7 +234,7 @@ PortalVariableMemoryRealloc(PortalVariableMemory this,
|
||||
static char *
|
||||
PortalVariableMemoryGetName(PortalVariableMemory this)
|
||||
{
|
||||
return varargform("%s-var", PortalVariableMemoryGetPortal(this)->name);
|
||||
return vararg_format("%s-var", PortalVariableMemoryGetPortal(this)->name);
|
||||
}
|
||||
|
||||
/* ----------------
|
||||
@@ -312,7 +312,7 @@ PortalHeapMemoryRealloc(PortalHeapMemory this,
|
||||
static char *
|
||||
PortalHeapMemoryGetName(PortalHeapMemory this)
|
||||
{
|
||||
return varargform("%s-heap", PortalHeapMemoryGetPortal(this)->name);
|
||||
return vararg_format("%s-heap", PortalHeapMemoryGetPortal(this)->name);
|
||||
}
|
||||
|
||||
/* ----------------
|
||||
|
||||
Reference in New Issue
Block a user