Re: Problem dbi_link with postgresql 9.04

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: Emanuel Araújo *EXTERN* <eacshm(at)gmail(dot)com>
Cc: "PostgreSQL" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem dbi_link with postgresql 9.04
Date: 2011-10-06 07:48:11
Message-ID: D960CB61B694CF459DCFB4B0128514C206F73A06@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Emanuel Araújo wrote:
> The field where the problem occurs is of type float or double, when extracting data from firebird, it
> creates the tables materialized as type text. There is problem with null values ​​or zero bytes. There
> are three records with value "1.5" and are those records that generates the error.

>> What I would do is check how the data look in Perl.
>> Build a simple Perl script that selects the problem data and display them byte for byte.
>>
>> That should help understand the problem.

> I will try

Another possibility is to use the 8.4 installation where things work
and display the actual content with something like:

SELECT encode(col, 'escape') FROM tab WHERE ...

That should show any zero bytes.

Yours,
Laurenz Albe

Browse pgsql-general by date

  From Date Subject
Next Message Robert Buckley 2011-10-06 07:59:00 problem with round() in php script
Previous Message Frank Lanitz 2011-10-06 07:47:57 Postgres 8.4: archive_timeout vs. checkpoint_timeout