summaryrefslogtreecommitdiff
path: root/src/bin/psql/common.h
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2012-12-14 18:03:07 -0500
committerAndrew Dunstan <andrew@dunslane.net>2012-12-14 18:03:07 -0500
commit1c382655ad90b7cd224230452f7056040337facf (patch)
tree378e1dd57280308b4267f7f7c55677b233be3fd8 /src/bin/psql/common.h
parent75758a6ff01156e163779f5f7386fa36720fb38f (diff)
Provide Assert() for frontend code.
Per discussion on-hackers. psql is converted to use the new code. Follows a suggestion from Heikki Linnakangas.
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r--src/bin/psql/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h
index f54baab841d..7f342901ad1 100644
--- a/src/bin/psql/common.h
+++ b/src/bin/psql/common.h
@@ -12,13 +12,6 @@
#include <setjmp.h>
#include "libpq-fe.h"
-#ifdef USE_ASSERT_CHECKING
-#include <assert.h>
-#define psql_assert(p) assert(p)
-#else
-#define psql_assert(p)
-#endif
-
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/*