diff options
author | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-25 20:12:20 +0900 |
---|---|---|
committer | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-25 20:15:02 +0900 |
commit | eaf0766d74ebf5975fc07344abb2bea599329d7e (patch) | |
tree | 85397a833e27002927ff97a49be9f451e7697e36 | |
parent | edc211424326ffd63933c8e20d5614dc39ce2566 (diff) | |
download | postgresql-eaf0766d74ebf5975fc07344abb2bea599329d7e.tar.gz postgresql-eaf0766d74ebf5975fc07344abb2bea599329d7e.zip |
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 2478884f0a4..cef58946a43 100644 --- a/contrib/dblink/dblink.c +++ b/contrib/dblink/dblink.c @@ -2166,7 +2166,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); @@ -2227,7 +2227,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); |