~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/interfaces/ecpg/test/connect/test4.pgc

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdlib.h>
 
2
#include <string.h>
 
3
#include <stdlib.h>
 
4
#include <stdio.h>
 
5
 
 
6
exec sql include ../regression;
 
7
 
 
8
int
 
9
main(void)
 
10
{
 
11
        ECPGdebug(1, stderr);
 
12
 
 
13
        exec sql connect to REGRESSDB1 as main;
 
14
 
 
15
        exec sql set connection to main;
 
16
 
 
17
        exec sql disconnect DEFAULT;
 
18
 
 
19
        return (0);
 
20
}