summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/sqlda-native.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2010-01-06 15:10:21 +0000
committerMichael Meskes <meskes@postgresql.org>2010-01-06 15:10:21 +0000
commit223a9cd33fccc83dfec8ce4761557e7f8c8e6836 (patch)
treef9eba87f05d24af4f7dd1510440f622158ffe393 /src/interfaces/ecpg/include/sqlda-native.h
parent822697a26e49db966e1c4190e30befe4794da0cc (diff)
Remove __FUNCTION__ keyword that is not recognized by som compilers.
Diffstat (limited to 'src/interfaces/ecpg/include/sqlda-native.h')
-rw-r--r--src/interfaces/ecpg/include/sqlda-native.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/include/sqlda-native.h b/src/interfaces/ecpg/include/sqlda-native.h
index 05cdd712c74..d8a6669ef40 100644
--- a/src/interfaces/ecpg/include/sqlda-native.h
+++ b/src/interfaces/ecpg/include/sqlda-native.h
@@ -1,11 +1,19 @@
/*
- * $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlda-native.h,v 1.1 2010/01/05 16:38:23 meskes Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlda-native.h,v 1.2 2010/01/06 15:10:21 meskes Exp $
*/
#ifndef ECPG_SQLDA_NATIVE_H
#define ECPG_SQLDA_NATIVE_H
-#include "postgres_fe.h"
+/*
+ * Maximum length for identifiers (e.g. table names, column names,
+ * function names). Names actually are limited to one less byte than this,
+ * because the length must include a trailing zero byte.
+ *
+ * This should be at least as much as NAMEDATALEN of the database the
+ * applications run against.
+ */
+#define NAMEDATALEN 64
struct sqlname
{