~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/interfaces/ecpg/test/expected/connect-test4.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Processed by ecpg (regression mode) */
 
2
/* These include files are added by the preprocessor */
 
3
#include <ecpglib.h>
 
4
#include <ecpgerrno.h>
 
5
#include <sqlca.h>
 
6
/* End of automatic include section */
 
7
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
 
8
 
 
9
#line 1 "test4.pgc"
 
10
#include <stdlib.h>
 
11
#include <string.h>
 
12
#include <stdlib.h>
 
13
#include <stdio.h>
 
14
 
 
15
 
 
16
#line 1 "regression.h"
 
17
 
 
18
 
 
19
 
 
20
 
 
21
 
 
22
 
 
23
#line 6 "test4.pgc"
 
24
 
 
25
 
 
26
int
 
27
main(void)
 
28
{
 
29
        ECPGdebug(1, stderr);
 
30
 
 
31
        { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , "main", 0); }
 
32
#line 13 "test4.pgc"
 
33
 
 
34
 
 
35
        { ECPGsetconn(__LINE__, "main");}
 
36
#line 15 "test4.pgc"
 
37
 
 
38
 
 
39
        { ECPGdisconnect(__LINE__, "DEFAULT");}
 
40
#line 17 "test4.pgc"
 
41
 
 
42
 
 
43
        return (0);
 
44
}