pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken J. Wright <ken@ori-ind.com>
To: Didier Gasser-Morlay <didierg@visualgroup.com>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] ODBC oin Windows
Date: Thu, 06 Jan 2000 10:55:07 -0800
Message-ID: <3.0.32.20000106105502.009194e0@ren.cncware.com> (raw)

>1. Money type is seen has a float. Delphi complains when trying to post

Use the decimal type from 6.5.x

>2. Int8 is seen as a 17 byte string
>3. float4 is seens as using 8 bytes (as float8)

How are you viewing this data? Delphi provides casting methods
(AsString,AsFloat,etc) to convert  a fields raw data to an appropriate data
type for your app. 

f := Dataset.FieldByName('SomeField').AsFloat;

Ken






view thread (7+ messages)  latest in thread

Message-ID: <3.0.32.20000106105502.009194e0@ren.cncware.com>
Permalink:  ../3.0.32.20000106105502.009194e0@ren.cncware.com/
Also on:    postgresql.org/message-id/3.0.32.20000106105502.009194e0@ren.cncware.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ken@ori-ind.com, didierg@visualgroup.com
  Subject: Re: [INTERFACES] ODBC oin Windows
  In-Reply-To: <3.0.32.20000106105502.009194e0@ren.cncware.com>

* 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