Re: Empty to NULL conversion - Ruby - Postgres ?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Venks <venkatesh(dot)mantha(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Empty to NULL conversion - Ruby - Postgres ?
Date: 2008-02-11 19:55:38
Message-ID: 1202759738.21589.16.camel@dogma.ljc.laika.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 2008-02-09 at 09:23 -0500, Venks wrote:
> Steve/Jeff,
>
> Thanks for your replies. I am using the latest "pg" module but I don't
> know if there is any way to handle this without SQL. I am manually
> taking care of it using SQL functions to convert empty strings to
> NULL. It would be nice if there is a setting that could take care of
> this issue.

Hi,

Can we take this issue to the ruby-pg lists (or forums), so that other
ruby-pg users can see it?

Show a simple irb session that demonstrates your problem, and also the
version of the "pg" module that you are using. This issue did exist, and
was fixed, but perhaps you have one version behind or something.

Regards,
Jeff Davis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Reynolds 2008-02-11 20:37:18 tsearch2 text::TSVECTOR cast not working for me on Pg 8.1.6
Previous Message Steve Atkins 2008-02-11 19:53:47 Re: catalog info for sequences