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 Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(dot)Meskes(at)gmx(dot)net | Use PostgreSQL!
In response to
pgsql-interfaces by date
|Next:||From: Herouth Maoz||Date: 1999-02-21 15:45:24|
|Subject: Re: [SQL] INSERT query (using insert from a Java application,
concerning String input)|
|Previous:||From: Michael Meskes||Date: 1999-02-21 11:53:20|
|Subject: Re: [INTERFACES] ecpg idea|