On Thu, Jun 24, 2004 at 02:56:04PM +0100, Hebert, Caroline wrote:
> I understand very well your answer, however, I would like to introduce
> briefly our needs and why we decided to use the "-r no_indicator" with ECPG.
> ...
I still think that you are on a risky path by misusing this feature. On
the other hand I see no reason why setting the len to 0 in case of a
NULL could be a problem for ecpg. But please keep in mind that you are
getting NULLs from the DB, not empty varchars, even if they look that
way in C.
I will commit the patch in a few minutes.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!