aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/sqlca.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-10 16:44:17 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-10 16:44:17 +0000
commit38201e21d0849a469e165085e4d12ac0969f5018 (patch)
treeb9e0e9db026ea6b3838f57025aebbca014f998f4 /src/interfaces/ecpg/include/sqlca.h
parenta8313f9671c621852dbdf16b6f47e19ceda489ea (diff)
downloadpostgresql-38201e21d0849a469e165085e4d12ac0969f5018.tar.gz
postgresql-38201e21d0849a469e165085e4d12ac0969f5018.zip
Erk, the whole directory structure changed on us here...
Diffstat (limited to 'src/interfaces/ecpg/include/sqlca.h')
-rw-r--r--src/interfaces/ecpg/include/sqlca.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/include/sqlca.h b/src/interfaces/ecpg/include/sqlca.h
new file mode 100644
index 00000000000..0e7126e7b36
--- /dev/null
+++ b/src/interfaces/ecpg/include/sqlca.h
@@ -0,0 +1,11 @@
+#ifndef POSTGRES_SQLCA_H
+#define POSTGRES_SQLCA_H
+
+struct sqlca {
+ int sqlcode;
+ struct {
+ int sqlerrml;
+ char sqlerrmc[1000];
+ } sqlerrm;
+} sqlca;
+#endif