Header And Logo

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

Defines | Functions

connect-test4.c File Reference

#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for connect-test4.c:

Go to the source code of this file.

Defines

#define ECPGdebug(X, Y)   ECPGdebug((X)+100,(Y))

Functions

int main (void)

Define Documentation

#define ECPGdebug (   X,
  Y 
)    ECPGdebug((X)+100,(Y))

Definition at line 7 of file connect-test4.c.


Function Documentation

int main ( void   ) 

Definition at line 27 of file connect-test4.c.

References ECPGconnect(), ECPGdebug, ECPGdisconnect(), ECPGsetconn(), and NULL.

{
    ECPGdebug(1, stderr);

    { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , "main", 0); }
#line 13 "test4.pgc"


    { ECPGsetconn(__LINE__, "main");}
#line 15 "test4.pgc"


    { ECPGdisconnect(__LINE__, "DEFAULT");}
#line 17 "test4.pgc"


    return (0);
}