pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2
Date: 2010-06-03 09:41:26
Message-ID: 20100603094126.703C77541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.69.2.3 -> r1.69.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.69.2.3&r2=1.69.2.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-06-03 09:43:04 pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2
Previous Message Takahiro Itagaki 2010-06-03 09:40:17 pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2