Обсуждение: pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2

Поиск
Список
Период
Сортировка

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

От
itagaki@postgresql.org (Takahiro Itagaki)
Дата:
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.

Modified Files:
--------------
    pgsql/contrib/dblink:
        dblink.c (r1.91 -> r1.92)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.91&r2=1.92)