diff options
author | Itagaki Takahiro | 2010-11-25 11:12:20 +0000 |
---|---|---|
committer | Itagaki Takahiro | 2010-11-26 09:10:00 +0000 |
commit | 268da2921907e7b5b1e9b0990957181a8dd7b410 (patch) | |
tree | 9e48a5c9fcdaa028421835683a07771319dadcba | |
parent | acbffaa77d0c4846f8749daa45fde507be1e969b (diff) |
Don't raise "identifier will be truncated" messages in dblink
except creating new connections.
-rw-r--r-- | contrib/dblink/dblink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c index 7cb8cd4a2d6..962e2577dac 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); |