mirror of
https://github.com/postgres/postgres.git
synced 2025-12-13 14:22:43 +03:00
This patch reduces some unsightly #ifdefs, and fixes two typos in
comments in the psql code. This doesn't make any functional change, so feel free to save it for 7.5 Neil Conway
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.30 2003/11/29 19:52:06 pgsql Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.31 2003/12/01 22:14:40 momjian Exp $
|
||||
*/
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
@@ -13,6 +13,13 @@
|
||||
#include "pqsignal.h"
|
||||
#include "libpq-fe.h"
|
||||
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
#include <assert.h>
|
||||
#define psql_assert(p) assert(p)
|
||||
#else
|
||||
#define psql_assert(p)
|
||||
#endif
|
||||
|
||||
extern char *xstrdup(const char *string);
|
||||
|
||||
extern bool setQFout(const char *fname);
|
||||
|
||||
Reference in New Issue
Block a user