diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2012-12-14 18:03:07 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2012-12-14 18:03:07 -0500 |
commit | 1c382655ad90b7cd224230452f7056040337facf (patch) | |
tree | 378e1dd57280308b4267f7f7c55677b233be3fd8 /src/bin/psql/common.c | |
parent | 75758a6ff01156e163779f5f7386fa36720fb38f (diff) | |
download | postgresql-1c382655ad90b7cd224230452f7056040337facf.tar.gz postgresql-1c382655ad90b7cd224230452f7056040337facf.zip |
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.c')
-rw-r--r-- | src/bin/psql/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 179c1622793..c2a2ab6f849 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -1160,7 +1160,7 @@ ExecQueryUsingCursor(const char *query, double *elapsed_msec) } OK = AcceptResult(results); - psql_assert(!OK); + Assert(!OK); PQclear(results); break; } |