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:40:17
Message-ID: 20100603094017.881F87541D3@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_4_STABLE

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.82.2.2 -> r1.82.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.82.2.2&r2=1.82.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-06-03 09:41:26 pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2
Previous Message Takahiro Itagaki 2010-06-03 09:38:33 pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2