Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes).
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 3 Jun 2010 09:44:35 +0000 (09:44 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 3 Jun 2010 09:44:35 +0000 (09:44 +0000)
commitac14ba5f874a93d3518a4d6feb34c1ce37f64346
treeeff02920e6683c12eca8574b90e37c90500a3c70
parentdbfa55f73aa32cb743b4d0d497fa8cea01863a6a
Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes).
Now long names are adjusted with truncate_identifier() and NOTICE messages
are raised if names are actually truncated.

Backported to release 8.0.
contrib/dblink/dblink.c