From 268da2921907e7b5b1e9b0990957181a8dd7b410 Mon Sep 17 00:00:00 2001 From: Itagaki Takahiro Date: Thu, 25 Nov 2010 20:12:20 +0900 Subject: [PATCH] Don't raise "identifier will be truncated" messages in dblink except creating new connections. --- contrib/dblink/dblink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c index 7cb8cd4a2d..962e2577da 100644 --- a/contrib/dblink/dblink.c +++ b/contrib/dblink/dblink.c @@ -2022,7 +2022,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); @@ -2083,7 +2083,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); -- 2.50.1