From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | "Hebert, Caroline" <caroline(dot)hebert(at)eds(dot)com> |
Cc: | "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: ECPG doesn't return the correct length for an empty |
Date: | 2004-06-27 12:30:18 |
Message-ID: | 20040627123018.GA10738@1 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | PostgreSQL Bugs List | 2004-06-27 15:40:50 | BUG #1184: listeners not cleaned on crash |
Previous Message | Alvaro Herrera | 2004-06-26 01:11:05 | Re: Problem with now() on 7.4.1-3 under cygwin? |