Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Money type display

From: Brett McCormick <brett(at)work(dot)chicken(dot)org>
To: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Money type display
Date: 1998-02-27 15:06:46
Message-ID: 13558.54820.800291.638603@abraxas.scene.com (view raw or flat)
Thread:
Lists: pgsql-hackers
I say remove it.  It has only caused problems for me.  Also, what
about the convention of only having a $ in the first & last rows
instead of all in between.  there should at least be a handy function
for converting the output (other than string manipulation) should the
$ be left on..

On Fri, 27 February 1998, at 08:45:09, D'Arcy J.M. Cain wrote:

> I wonder if I didn't make a mistake in the money type.  As a C library
> function it made sense to add the "$" to the display because it was
> easy to add one to the return value if it wasn't required.  I'm finding
> it to be a bit of a problem with my Python interface.  I was just
> going to strip it in my module but I thought I would see if others
> felt that it should simply be dropped from the PostgreSQL output.
> 
> -- 
> D'Arcy J.M. Cain <darcy(at){druid|vex}.net>   |  Democracy is three wolves
> http://www.druid.net/darcy/                |  and a sheep voting on
> +1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-02-27 15:11:28
Subject: Re: [HACKERS] common area
Previous:From: Bruce MomjianDate: 1998-02-27 15:06:31
Subject: Re: [HACKERS] permission issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group