Header And Logo

PostgreSQL
| The world's most advanced open source database.

connect-test4.c

Go to the documentation of this file.
00001 /* Processed by ecpg (regression mode) */
00002 /* These include files are added by the preprocessor */
00003 #include <ecpglib.h>
00004 #include <ecpgerrno.h>
00005 #include <sqlca.h>
00006 /* End of automatic include section */
00007 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
00008 
00009 #line 1 "test4.pgc"
00010 #include <stdlib.h>
00011 #include <string.h>
00012 #include <stdlib.h>
00013 #include <stdio.h>
00014 
00015 
00016 #line 1 "regression.h"
00017 
00018 
00019 
00020 
00021 
00022 
00023 #line 6 "test4.pgc"
00024 
00025 
00026 int
00027 main(void)
00028 {
00029     ECPGdebug(1, stderr);
00030 
00031     { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , "main", 0); }
00032 #line 13 "test4.pgc"
00033 
00034 
00035     { ECPGsetconn(__LINE__, "main");}
00036 #line 15 "test4.pgc"
00037 
00038 
00039     { ECPGdisconnect(__LINE__, "DEFAULT");}
00040 #line 17 "test4.pgc"
00041 
00042 
00043     return (0);
00044 }