File: mod_pgsql.texi

package info (click to toggle)
proftpd-dfsg 1.3.0-19etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,604 kB
  • ctags: 5,598
  • sloc: ansic: 59,475; sh: 18,832; perl: 1,474; makefile: 1,191
file content (30 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This module is contained in the mod_pgsql.c file, and is not compiled in
by default.  It provides the backend support to connect to Postgresql
databases.

@heading Postgres Database Directives

@subheading @anchor{PostgresInfo} PostgresInfo

@format
Syntax: PostgresInfo host user pass dbname
Syntax: PostgresInfo host dbname
Default: none
Context: server config, virtual host
@end format

Configures the Posgresql database driver (the database may be remote).
A connection isn't made until use of a SQL feature requires it, after
which it may be held open for the lifetime of the FTP session depending
on the directives in use.

@subheading @anchor{PostgresPort} PostgresPort

@format
Syntax: PostgresPort [num]
Default: 5432
Context: server config, virtual host
@end format

Specifies which TCP/IP port to use for connecting.  Default is 5432, or
UNIX socket for localhost.