diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-11 00:18:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-11 00:18:59 +0000 |
commit | 13e838f1d9f26561f94af89af3581eee1b20608a (patch) | |
tree | e5ef3b0b2c3e850cc8f6654ec40f14a15fcb7981 | |
parent | 2e10863bf52797a7a285271677e3f2c35a376f20 (diff) | |
download | postgresql-13e838f1d9f26561f94af89af3581eee1b20608a.tar.gz postgresql-13e838f1d9f26561f94af89af3581eee1b20608a.zip |
Neil's patch was supposed to remove this, too.
-rw-r--r-- | src/backend/utils/error/format.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/backend/utils/error/format.c b/src/backend/utils/error/format.c deleted file mode 100644 index aec292b4e63..00000000000 --- a/src/backend/utils/error/format.c +++ /dev/null @@ -1,36 +0,0 @@ -/*------------------------------------------------------------------------- - * - * format.c - * a wrapper around code that does what vsprintf does. - * - * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * - * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.17 2002/06/20 20:29:39 momjian Exp $ - * - *------------------------------------------------------------------------- - */ -#include "postgres.h" - -#define FormMaxSize 1024 -#define FormMinSize (FormMaxSize / 8) - -static char FormBuf[FormMaxSize]; - - -/* ---------------- - * vararg_format - * ---------------- - */ -char * -vararg_format(const char *fmt,...) -{ - va_list args; - - va_start(args, fmt); - vsnprintf(FormBuf, FormMaxSize - 1, fmt, args); - va_end(args); - return FormBuf; -} |