diff options
author | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-25 19:40:58 +0900 |
---|---|---|
committer | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-25 20:08:33 +0900 |
commit | ec66f658999c6d19c82f437cc89d1bb0cfda2d80 (patch) | |
tree | d890f60706f0b5f752565622d139ac5564b5bdb5 /contrib | |
parent | fab2af30d6bb4ca893e2e9bf96863e6f1ce826d2 (diff) | |
download | postgresql-ec66f658999c6d19c82f437cc89d1bb0cfda2d80.tar.gz |
Don't raise "identifier will be truncated" messages in dblink
except creating new connections.
Diffstat (limited to 'contrib')
-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 72e80f2ca0..d68b12aedd 100644 --- a/contrib/dblink/dblink.c +++ b/contrib/dblink/dblink.c @@ -2145,7 +2145,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); @@ -2206,7 +2206,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); |