OSDN Git Service

Add STATUS_EOF value needed for auth.c. Remove a bunch of unused
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Oct 2001 22:40:52 +0000 (22:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Oct 2001 22:40:52 +0000 (22:40 +0000)
STATUS_xxx macros to reduce clutter.

src/include/c.h

index 372e548..c299d77 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: c.h,v 1.102 2001/10/03 21:58:28 tgl Exp $
+ * $Id: c.h,v 1.103 2001/10/18 22:40:52 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -573,12 +573,7 @@ typedef NameData *Name;
 
 #define STATUS_OK                              (0)
 #define STATUS_ERROR                   (-1)
-#define STATUS_NOT_FOUND               (-2)
-#define STATUS_INVALID                 (-3)
-#define STATUS_UNCATALOGUED            (-4)
-#define STATUS_REPLACED                        (-5)
-#define STATUS_NOT_DONE                        (-6)
-#define STATUS_BAD_PACKET              (-7)
+#define STATUS_EOF                             (-2)
 #define STATUS_FOUND                   (1)