| 1 |
This module is contained in the mod_pgsql.c file, and is not compiled in |
| 2 |
by default. It provides the backend support to connect to Postgresql |
| 3 |
databases. |
| 4 |
|
| 5 |
@heading Postgres Database Directives |
| 6 |
|
| 7 |
@subheading @anchor{PostgresInfo} PostgresInfo |
| 8 |
|
| 9 |
@format |
| 10 |
Syntax: PostgresInfo host user pass dbname |
| 11 |
Syntax: PostgresInfo host dbname |
| 12 |
Default: none |
| 13 |
Context: server config, virtual host |
| 14 |
@end format |
| 15 |
|
| 16 |
Configures the Posgresql database driver (the database may be remote). |
| 17 |
A connection isn't made until use of a SQL feature requires it, after |
| 18 |
which it may be held open for the lifetime of the FTP session depending |
| 19 |
on the directives in use. |
| 20 |
|
| 21 |
@subheading @anchor{PostgresPort} PostgresPort |
| 22 |
|
| 23 |
@format |
| 24 |
Syntax: PostgresPort [num] |
| 25 |
Default: 5432 |
| 26 |
Context: server config, virtual host |
| 27 |
@end format |
| 28 |
|
| 29 |
Specifies which TCP/IP port to use for connecting. Default is 5432, or |
| 30 |
UNIX socket for localhost. |