aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-03-25 02:44:36 +0000
committerBruce Momjian <bruce@momjian.us>2003-03-25 02:44:36 +0000
commitf1792b932c574eada6527a87e2489364f700fca4 (patch)
tree7e7d1f2ff809c2b0542110e68e5cbf5d88715310 /src/interfaces/ecpg/ecpglib/execute.c
parent6a19c6dccfee66df3970dfba15a8590fdd399bc1 (diff)
downloadpostgresql-f1792b932c574eada6527a87e2489364f700fca4.tar.gz
postgresql-f1792b932c574eada6527a87e2489364f700fca4.zip
Use PQfreemem() consistently, and document its use for Notify.
Keep PQfreeNotify() around for binary compatibility.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 0fdd925a09c..24a46edc415 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.4 2003/03/20 15:56:50 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.5 2003/03/25 02:44:36 momjian Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -1197,7 +1197,7 @@ ECPGexecute(struct statement * stmt)
{
ECPGlog("ECPGexecute line %d: ASYNC NOTIFY of '%s' from backend pid '%d' received\n",
stmt->lineno, notify->relname, notify->be_pid);
- ECPGfree(notify);
+ PQfreemem(notify);
}
return status;