Re: [INTERFACES] ecpg idea

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [INTERFACES] ecpg idea
Дата
Msg-id 19990221125437.A582@gmx.net
обсуждение исходный текст
Ответ на Re: [INTERFACES] ecpg idea  (James Thompson <jamest@math.ksu.edu>)
Список pgsql-interfaces
On Sat, Feb 20, 1999 at 12:56:28PM -0600, James Thompson wrote:
> I just don't like hard coded array sizes linked to table fields.  I'd
> rather malloc the memory prior to the fetch.

Hard coded array sizes have one huge advantage: libecpg will know how many
bytes fit in. Thus there won't be a buffer overflow.

Michael
--
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!

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

Предыдущее
От: "Justin R. Smith"
Дата:
Сообщение: Quotes in input
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Crystal Report ...