Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3c1265

Browse files
committed
Don't raise "identifier will be truncated" messages in dblink
except creating new connections.
1 parent2d1e426 commitd3c1265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/dblink/dblink.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ getConnectionByName(const char *name)
20892089
remoteConnHash=createConnHash();
20902090

20912091
key=pstrdup(name);
2092-
truncate_identifier(key,strlen(key),true);
2092+
truncate_identifier(key,strlen(key),false);
20932093
hentry= (remoteConnHashEnt*)hash_search(remoteConnHash,
20942094
key,HASH_FIND,NULL);
20952095

@@ -2150,7 +2150,7 @@ deleteConnection(const char *name)
21502150
remoteConnHash=createConnHash();
21512151

21522152
key=pstrdup(name);
2153-
truncate_identifier(key,strlen(key),true);
2153+
truncate_identifier(key,strlen(key),false);
21542154
hentry= (remoteConnHashEnt*)hash_search(remoteConnHash,
21552155
key,HASH_REMOVE,&found);
21562156

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp