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 19:58:29 +0900 |
| commit | 317a568c88ee92bb50238f9fe9508803bc81501c (patch) | |
| tree | ce908c45875809075e21fb70b7998372040223b7 | |
| parent | b5efc094042638154d74fdb1e8344ae0ba977617 (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 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); |
