X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e1be3d9f48b51a927c26d1ac0035b50b82423916..4e99f8a3408d59f5c6bf8d934fda7bb3726f2da2:/lib/db.php 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()');