summaryrefslogtreecommitdiff
path: root/feature-tests/diag-schema-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'feature-tests/diag-schema-info.c')
-rw-r--r--feature-tests/diag-schema-info.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/feature-tests/diag-schema-info.c b/feature-tests/diag-schema-info.c
new file mode 100644
index 0000000..e64e990
--- /dev/null
+++ b/feature-tests/diag-schema-info.c
@@ -0,0 +1,10 @@
+#include <libpq-fe.h>
+int main(void)
+{
+ int s = PG_DIAG_SCHEMA_NAME;
+ int t = PG_DIAG_TABLE_NAME;
+ int col = PG_DIAG_COLUMN_NAME;
+ int d = PG_DIAG_DATATYPE_NAME;
+ int con = PG_DIAG_CONSTRAINT_NAME;
+ return s + t + col + d + con;
+}