1 /*-------------------------------------------------------------------------
4 * a wrapper around code that does what vsprintf does.
6 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
11 * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.16 2001/01/24 19:43:15 momjian Exp $
13 *-------------------------------------------------------------------------
17 #define FormMaxSize 1024
18 #define FormMinSize (FormMaxSize / 8)
20 static char FormBuf[FormMaxSize];
28 vararg_format(const char *fmt,...)
33 vsnprintf(FormBuf, FormMaxSize - 1, fmt, args);