projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1e426
)
Don't raise "identifier will be truncated" messages in dblink
author
Itagaki Takahiro
<
[email protected]
>
Thu, 25 Nov 2010 10:40:58 +0000
(19:40 +0900)
committer
Itagaki Takahiro
<
[email protected]
>
Thu, 25 Nov 2010 10:40:58 +0000
(19:40 +0900)
except creating new connections.
contrib/dblink/dblink.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/dblink/dblink.c
b/contrib/dblink/dblink.c
index 30f1b0eab02b1555e6695600a6cc313c0ac4b5d5..2db12d51034f8765989b5873955fa5cee4d8be47 100644
(file)
--- a/
contrib/dblink/dblink.c
+++ b/
contrib/dblink/dblink.c
@@
-2089,7
+2089,7
@@
getConnectionByName(const char *name)
remoteConnHash = createConnHash();
key = pstrdup(name);
- truncate_identifier(key, strlen(key),
tru
e);
+ truncate_identifier(key, strlen(key),
fals
e);
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),
tru
e);
+ truncate_identifier(key, strlen(key),
fals
e);
hentry = (remoteConnHashEnt *) hash_search(remoteConnHash,
key, HASH_REMOVE, &found);