| 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 |
Postgres Database Directives |
| 6 |
============================ |
| 7 |
|
| 8 |
PostgresInfo |
| 9 |
------------ |
| 10 |
|
| 11 |
Syntax: PostgresInfo host user pass dbname |
| 12 |
Syntax: PostgresInfo host dbname |
| 13 |
Default: none |
| 14 |
Context: server config, virtual host |
| 15 |
|
| 16 |
Configures the Posgresql database driver (the database may be |
| 17 |
remote). A connection isn't made until use of a SQL feature requires |
| 18 |
it, after which it may be held open for the lifetime of the FTP session |
| 19 |
depending on the directives in use. |
| 20 |
|
| 21 |
PostgresPort |
| 22 |
------------ |
| 23 |
|
| 24 |
Syntax: PostgresPort [num] |
| 25 |
Default: 5432 |
| 26 |
Context: server config, virtual host |
| 27 |
|
| 28 |
Specifies which TCP/IP port to use for connecting. Default is 5432, |
| 29 |
or UNIX socket for localhost. |
| 30 |
|