summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/Makefile
diff options
context:
space:
mode:
authorThomas Munro2018-06-18 06:33:53 +0000
committerThomas Munro2018-06-18 06:33:53 +0000
commit4c8156d87108fa1f245bee13775e76819cd46a90 (patch)
tree996d21ce88a77bc16c6eebe3780b516815c70ae9 /src/interfaces/ecpg/include/Makefile
parent70b4f82a4b5cab5fc12ff876235835053e407155 (diff)
Add PGTYPESchar_free() to avoid cross-module problems on Windows.
On Windows, it is sometimes important for corresponding malloc() and free() calls to be made from the same DLL, since some build options can result in multiple allocators being active at the same time. For that reason we already provided PQfreemem(). This commit adds a similar function for freeing string results allocated by the pgtypes library. Author: Takayuki Tsunakawa Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8AD5D6%40G01JPEXMBYT05
Diffstat (limited to 'src/interfaces/ecpg/include/Makefile')
-rw-r--r--src/interfaces/ecpg/include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/include/Makefile b/src/interfaces/ecpg/include/Makefile
index e92e56f26f3..9c68bf3c477 100644
--- a/src/interfaces/ecpg/include/Makefile
+++ b/src/interfaces/ecpg/include/Makefile
@@ -14,7 +14,7 @@ install: all installdirs install-headers
.PHONY: install-headers
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h \
- pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h \
+ pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h pgtypes.h \
sqlda.h sqlda-compat.h sqlda-native.h
informix_headers = datetime.h decimal.h sqltypes.h