Don't raise "identifier will be truncated" messages in dblink

except creating new connections.
This commit is contained in:
Itagaki Takahiro 2010-11-25 19:40:58 +09:00
parent 2d1e426650
commit d3c1265443
1 changed files with 2 additions and 2 deletions

View File

@ -2089,7 +2089,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);
@ -2150,7 +2150,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);