aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/data.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2001-10-01 12:02:28 +0000
committerMichael Meskes <meskes@postgresql.org>2001-10-01 12:02:28 +0000
commit9f09e8362b701730f5c3ab2c387bf603f8ee7cba (patch)
treec3b3bbe49baf7260bfcd403965249241972b3b21 /src/interfaces/ecpg/lib/data.c
parent8ae8ddbb8e8a1072df2cc863b1a071cc4975c3e4 (diff)
downloadpostgresql-9f09e8362b701730f5c3ab2c387bf603f8ee7cba.tar.gz
postgresql-9f09e8362b701730f5c3ab2c387bf603f8ee7cba.zip
- Fixed truncate bug.
- Added patch by Christof Petig <christof.petig@wtal.de> to clean up ecpglib.
Diffstat (limited to 'src/interfaces/ecpg/lib/data.c')
-rw-r--r--src/interfaces/ecpg/lib/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/lib/data.c b/src/interfaces/ecpg/lib/data.c
index 8bed8f711ed..5d533813145 100644
--- a/src/interfaces/ecpg/lib/data.c
+++ b/src/interfaces/ecpg/lib/data.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/data.c,v 1.15 2001/09/19 14:09:32 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/data.c,v 1.16 2001/10/01 12:02:28 meskes Exp $ */
#include "postgres_fe.h"
@@ -12,7 +12,7 @@
#include "sqlca.h"
bool
-get_data(PGresult *results, int act_tuple, int act_field, int lineno,
+get_data(const PGresult *results, int act_tuple, int act_field, int lineno,
enum ECPGttype type, enum ECPGttype ind_type,
void *var, void *ind, long varcharsize, long offset,
bool isarray)