mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 06:00:36 +00:00
cel_pgsql: Add support for setting schema
Add feature to set optional schema parameter on configuration file via 'schema' setting. Fix query to get columns from table while considering schema. If in the database there exists two tables with same name in distinct schemas it will return an error when inserting record. ASTERISK-24967 #close Change-Id: I691fd2cbc277fcba10e615f5884f8de5d8152f2c
This commit is contained in:
@@ -68,4 +68,6 @@
|
||||
;password=password
|
||||
;user=postgres
|
||||
;table=cel ;SQL table where CEL's will be inserted
|
||||
;schema=public ;Schema where CEL's table is located. Optional parameter.
|
||||
;If schema support is present the default value used will be current_schema().
|
||||
;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.
|
||||
|
||||
Reference in New Issue
Block a user