pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Zot O'Connor <zot@zotconsulting.com>
Cc: PostgreSQL-SQL <pgsql-sql@postgreSQL.org>
Cc: Jan Wieck <jwieck@debis.com>
Subject: Re: [SQL] Decimal precsion?
Date: Fri, 29 Oct 1999 20:30:48 -0400 (EDT)
Message-ID: <199910300030.UAA25626@candle.pha.pa.us> (raw)
In-Reply-To: <381A36FB.643E7901@zotconsulting.com>

> 
> Yeah I finnally figured that out, wish the docs would cover things like
> that.  
> 
> I went through two books (which said its just liek COBOL! and then
> ignored me) and finnally the mysql pages had a good right up.
> 
> I still thing the 0.0 thing is an error.
> 

Yes, and why doesn't this generate an error:
	
	test=> insert into example values(0.12345);
	INSERT 19488 1
	test=> insert into example values(0.1234567);
	INSERT 19489 1
	test=> select * from example;
	 other
	------
	0.1235
	0.1235
	(2 rows)

Jan, can you comment on this.  I found the code in numeric.c, but can't
figure out what the proper test should be.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (7+ messages)  latest in thread

Message-ID: <199910300030.UAA25626@candle.pha.pa.us>
Permalink:  ../199910300030.UAA25626@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199910300030.UAA25626@candle.pha.pa.us

 · 

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-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, zot@zotconsulting.com, jwieck@debis.com
  Subject: Re: [SQL] Decimal precsion?
  In-Reply-To: <199910300030.UAA25626@candle.pha.pa.us>
  References: <381A36FB.643E7901@zotconsulting.com> <199910300030.UAA25626@candle.pha.pa.us>

* 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