]> granicus.if.org Git - postgresql/commit
Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes).
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 3 Jun 2010 09:38:33 +0000 (09:38 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 3 Jun 2010 09:38:33 +0000 (09:38 +0000)
commit7dff7260aff06dfac48951898631950ba32602cf
tree6e6072dccdf59ab13e1b1fb2c66eef46faa117ac
parentd561430b660a79ca20c2e335f56e4dc68f8848b4
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