diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c index 4bfa7670fd9..09eea1881a6 100644 --- a/contrib/dblink/dblink.c +++ b/contrib/dblink/dblink.c @@ -2109,7 +2109,7 @@ getConnectionByName(const char *name) remoteConnHash = createConnHash(); key = pstrdup(name); - truncate_identifier(key, strlen(key), true); + truncate_identifier(key, strlen(key), false); hentry = (remoteConnHashEnt *) hash_search(remoteConnHash, key, HASH_FIND, NULL); @@ -2170,7 +2170,7 @@ deleteConnection(const char *name) remoteConnHash = createConnHash(); key = pstrdup(name); - truncate_identifier(key, strlen(key), true); + truncate_identifier(key, strlen(key), false); hentry = (remoteConnHashEnt *) hash_search(remoteConnHash, key, HASH_REMOVE, &found);