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

except creating new connections.
REL8_4_STABLE
Itagaki Takahiro 15 years ago
parent fab2af30d6
commit ec66f65899
  1. 4
      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);

Loading…
Cancel
Save