git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36e8d4e)
One more file to remove
Wed, 2 Aug 2006 13:52:11 +0000 (13:52 +0000)
Wed, 2 Aug 2006 13:52:11 +0000 (13:52 +0000)

diff --git a/src/interfaces/ecpg/test/header_test.h b/src/interfaces/ecpg/test/header_test.h
deleted file mode 100644 (file)
index 0f8527e..0000000
--- a/src/interfaces/ecpg/test/header_test.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/test/header_test.h,v 1.12 2006年03月11日 04:38:40 momjian Exp $ */
-
-#include "stdlib.h"
-
-static void
-Finish(char *msg)
-{
- fprintf(stderr, "Error in statement '%s':\n", msg);
- sqlprint();
-
- /* finish transaction */
- exec sql rollback;
-
- /* and remove test table */
- exec sql drop table meskes;
- exec sql commit;
-
- exec sql disconnect;
-
- exit(-1);
-}
-
-static void
-warn(void)
-{
- fprintf(stderr, "Warning: At least one column was truncated\n");
-}
-
-exec sql whenever sqlerror
-do
- Finish(msg);
-exec sql whenever sqlwarning
-do
- warn();
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /