PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
▼
PostgreSQL Source Code
PostgreSQL Database Management System
►
Namespaces
►
Data Structures
▼
Files
►
File List
►
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
connect-test4.c
Go to the documentation of this file.
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,
"ecpg1_regression"
, 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
}
main
int main(void)
Definition:
connect-test4.c:27
ECPGdebug
#define ECPGdebug(X, Y)
Definition:
connect-test4.c:7
ECPGsetconn
bool ECPGsetconn(int lineno, const char *connection_name)
Definition:
connect.c:190
ECPGdisconnect
bool ECPGdisconnect(int lineno, const char *connection_name)
Definition:
connect.c:676
ECPGconnect
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
Definition:
connect.c:255
ecpgerrno.h
ecpglib.h
sqlca.h
string.h
src
interfaces
ecpg
test
expected
connect-test4.c
Generated on Thu Mar 27 2025 06:13:27 for PostgreSQL Source Code by
1.9.4