Fixed locatable scope for pgsql (needs single quotes)