From: | "Venkatesan, Sekhar" <sekhar(dot)venkatesan(at)emc(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: PostgreSQL: Inserting NULL values adds empty string. |
Date: | 2016-02-14 18:08:54 |
Message-ID: | F84DE43FDACD4C45AA84E2DA016FAE2F1C6671BE@MX105CL01.corp.emc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc pgsql-sql |
It's a C++ application that talks to PostgreSQL DB. I checked the value in database directly.
-----Original Message-----
From: Adrian Klaver [mailto:adrian(dot)klaver(at)aklaver(dot)com]
Sent: Sunday, February 14, 2016 10:19 PM
To: Venkatesan, Sekhar; pgsql-odbc(at)postgresql(dot)org; pgsql-sql(at)postgresql(dot)org
Subject: Re: [ODBC] PostgreSQL: Inserting NULL values adds empty string.
On 02/14/2016 05:13 AM, Venkatesan, Sekhar wrote:
> Hi Folks,
>
> I am using PostgreSQL 9.4 odbc driver to talk to 9.4 postgreSQL server.
Through what application?
> I see that when inserting NULL values into DB is adding empty string in the database only in windows.
> The same insert is adding NULL values into database when linux odbc driver is used to connect to linux database.
How are you determining this?
> Is there any configuration in odbc driver end or in server to retain the null values or is it a bug?
> If it is not and is an expected behavior, how to fix it in the application?
>
> Thanks,
> Sekhar
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2016-02-14 18:21:43 | Re: PostgreSQL: Inserting NULL values adds empty string. |
Previous Message | Adrian Klaver | 2016-02-14 16:48:47 | Re: [ODBC] PostgreSQL: Inserting NULL values adds empty string. |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2016-02-14 18:21:43 | Re: PostgreSQL: Inserting NULL values adds empty string. |
Previous Message | Adrian Klaver | 2016-02-14 16:48:47 | Re: [ODBC] PostgreSQL: Inserting NULL values adds empty string. |