Debian Codegraph @

configs/samples/res_pgsql.conf.sample

raw
1 ;
2 ; Sample configuration for res_config_pgsql
3 ;
4 ; The value of hostname may be either a hostname or an IP address.
5 ; If hostname is commented out or the string "localhost", a connection
6 ; to the local host is assumed and dbsock is used instead of TCP/IP
7 ; to connect to the server.
8 ;
9 [general]
10 ;hostname=localhost
11 ;port=5432
12 ;dbname=asterisk
13 ;user=postgres
14 ;password=password
15 ;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.
16
17 ; socket is specified as the directory where the socket file may be found. The
18 ; actual socket is constructed as a combination of socket and port. For
19 ; example, the values of '/tmp' and '5432', respectively, will specify a socket
20 ; file of '/tmp/.s.PGSQL.5432'.
21 ;
22 ;socket=/tmp
23 ;
24 ; requirements - At startup, each realtime family will make requirements
25 ; on the backend. There are several strategies for handling requirements:
26 ; warn - Warn if the required column does not exist.
27 ; createclose - Create columns as close to the requirements as possible.
28 ; createchar - Create char columns only
29 ;
30 requirements=warn
31
32 ; When multiple rows are requested by realtime, res_config_pgsql will add an
33 ; explicit ORDER BY clause to the generated SELECT statement. To prevent
34 ; that from occuring, set order_multi_row_results_by_initial_column to 'no'.
35 ;
36 ;order_multi_row_results_by_initial_column=no