Re: BUG #5812: ecpg problem with array of varchar when using dimension name with length > 12

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: BUG #5812: ecpg problem with array of varchar when using dimension name with length > 12
Дата
Msg-id 20110108173400.GC6208@hyperion.credativ.de
обсуждение исходный текст
Ответ на BUG #5812: ecpg problem with array of varchar when using dimension name with length > 12  ("Jean-Baptiste Veslin" <jean-baptiste.veslin@meteo.fr>)
Список pgsql-bugs
On Tue, Jan 04, 2011 at 02:44:25PM +0000, Jean-Baptiste Veslin wrote:
> Description:        ecpg problem with array of varchar when using dimension
> name with length > 12
> ...
> This problem seems to be because of the static declaration "char dim[14L]"
> in ecpg.trailer
>
> I think it wouldn't be very difficult to calculate the dimension of "dim"
> dynamically (strlen(dimension) + 2)

Thanks for spotting this, I have no idea why this fixed size limit is in there
anyway. I will remove it.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: BUG #5814: documentation bug
Следующее
От: melzaiady
Дата:
Сообщение: Re: BUG #5809: bigserial duplicate value