summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 92912e1ffeb2..53b4f9d41b15 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -2195,7 +2195,7 @@ namespace
{
OUString construct_full_typename(OUString ns, OUString tn)
{
- if(ns == "pg_catalog")
+ if(ns.isEmpty() || ns == "pg_catalog")
return tn;
else
return ns + "." + tn;