pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: René Grün <rgr@mbs-software.de>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: NAN-Values in ECPG-Code
Date: Mon, 3 Sep 2007 13:09:56 +0200
Message-ID: <20070903110956.GB28752@feivel.credativ.de> (raw)
In-Reply-To: <8897A07B0EAA3B45B7119D1937389FFE7C78F6@exchange.mbs.internal>
References: <8897A07B0EAA3B45B7119D1937389FFE7C78F6@exchange.mbs.internal>

On Fri, Jun 15, 2007 at 03:38:03PM +0200, René Grün wrote:
> I have a Question:

Sorry for the late answer, but I still have a backlog in my emails.

> EXEC SQL BEGIN DECLARE SECTION;
> Int	paramid;
> Float fval;
> EXEC SQL END DECLARE SECTION;
> 
> paramid = 5;
> fval = 'NAN';

How about this?

fval = strtod("nan", NULL);

> Mit freundlichen Grüßen aus Krefeld,
> With best regards from Krefeld,

Being very close in Moenchengladbach I hope this helps.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



view thread (2+ messages)

Message-ID: <20070903110956.GB28752@feivel.credativ.de>
Permalink:  ../20070903110956.GB28752@feivel.credativ.de/
Also on:    postgresql.org/message-id/20070903110956.GB28752@feivel.credativ.de

 · 

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: meskes@postgresql.org, rgr@mbs-software.de
  Subject: Re: NAN-Values in ECPG-Code
  In-Reply-To: <20070903110956.GB28752@feivel.credativ.de>

* 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