]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_pgsql: Fix removed support to previous for versions PostgreSQL 9.1
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Tue, 19 Sep 2017 10:22:50 +0000 (07:22 -0300)
committerRodrigo Ramirez Norambuena <a@rodrigoramirez.com>
Thu, 21 Sep 2017 16:25:39 +0000 (11:25 -0500)
commitc98e980fff0b06a6752e078dca83a84c05bf6ead
treed0e50fc6ad5791612ec1d945c41efdecb5f5825e
parent2f8e7be0d1806f8f8853d990c296700914a6405e
res_config_pgsql: Fix removed support to previous for versions PostgreSQL 9.1

In PostgreSQL 9.1 the backslash are string literals and not the escape
of characters.

In previous issue ASTERISK_26057 was fixed the use of escape LIKE but the
support for old version of Postgresql than 9.1 was dropped. The sentence
before make was "ESCAPE '\'" but in version before than 9.1  need it to be
as follow "ESCAPE '\\'".

ASTERISK-27283

Change-Id: I96d9ee1ed7693ab17503cb36a9cd72847165f949
res/res_config_pgsql.c