We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526de7f commit 6cf8ce1Copy full SHA for 6cf8ce1
src/include/postgres_ext.h
@@ -15,7 +15,7 @@
15
* use header files that are otherwise internal to Postgres to interface
16
* with the backend.
17
*
18
- * $Id: postgres_ext.h,v 1.11 2002/08/13 20:40:44 momjian Exp $
+ * $Id: postgres_ext.h,v 1.12 2003/03/18 17:21:07 momjian Exp $
19
20
*-------------------------------------------------------------------------
21
*/
@@ -28,7 +28,11 @@
28
29
typedef unsigned int Oid;
30
31
+#ifdef __cplusplus
32
+#define InvalidOid (Oid(0))
33
+#else
34
#define InvalidOid ((Oid) 0)
35
+#endif
36
37
#define OID_MAX UINT_MAX
38
/* you will need to include <limits.h> to use the above #define */
0 commit comments