X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dba5b2f86e3b91eade86a851932004a56b34134e..99d52aed1b5c07459fa5c99e2eef114d612c7c0e:/lib/db.php?ds=sidebyside diff --git a/lib/db.php b/lib/db.php index 145c57d0..01fc344b 100644 --- a/lib/db.php +++ b/lib/db.php @@ -23,6 +23,11 @@ function getDBQuoted($s) return "'".pg_escape_string($s)."'"; } +function getArraySQL($a) +{ + return 'ARRAY['.join(',', $a).']'; +} + function getPostgresVersion(&$oDB) { $sVersionString = $oDB->getOne('select version()');