pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000729 ] NULL value is auto convert into empty value when "left join"
Date: Sun,  3 Sep 2006 03:44:14 +0000 (UTC)
Message-ID: <20060903034414.4EA3D86C58C@pgfoundry.org> (raw)

Bugs item #1000729, was opened at 2006-09-03 03:44
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000729&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: NULL value is auto convert into empty value when "left join"

Initial Comment:
server 8.1.4
client: visual foxpro 8 + pgslodbc08.02.0100

table: test1
t1_key   t1_desc 
------------------
1         null


table: test2
t2_key  
------------------
<empty>



I execute a sql 
sqlexec("select test1.t1_key, test1.t1_desc, test2.t2_key from test1
left join test2 on test1.t1_key=test2.t2_key")

I get error result:
t1_key     t1_desc    t2_key
------------------------------
1          null       0


correct result should be
t1_key     t1_desc    t2_key
------------------------------
1          null       null

null value is auto convert into empty value


----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000729&group_id=1000125



Message-ID: <20060903034414.4EA3D86C58C@pgfoundry.org>
Permalink:  ../20060903034414.4EA3D86C58C@pgfoundry.org/
Also on:    postgresql.org/message-id/20060903034414.4EA3D86C58C@pgfoundry.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: noreply@pgfoundry.org
  Subject: Re: [ psqlodbc-Bugs-1000729 ] NULL value is auto convert into empty value when "left join"
  In-Reply-To: <20060903034414.4EA3D86C58C@pgfoundry.org>
  References: <20060903034414.4EA3D86C58C@pgfoundry.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox