Re: Re: [PORTS] the 'money' type

Started by Andrew Martinalmost 28 years ago3 messages
#1Andrew Martin
martin@biochemistry.ucl.ac.uk

Thus spake Adam Fenn

Where can I find some documentation on how to use the money data type in
pgsql?

I never did get around to that. The code has some explanations. There
isn't really much. You create a type as money and you can assign values
such as '$123,456.78' (dollar sign optional) to it and it displays it

ARRRRGGHHHHHHHH!!!!!!!! Another example where a nice feature has been
introduced but not documented! THERE IS NO POINT in having features if
people don't know how to use them.

Is this now documented????

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk (Home) andrew@stagleys.demon.co.uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775

#2Thomas G. Lockhart
lockhart@alumni.caltech.edu
In reply to: Andrew Martin (#1)
Re: [HACKERS] Re: Re: [PORTS] the 'money' type

Where can I find some documentation on how to use the money data type in
pgsql?

I never did get around to that. The code has some explanations. There
isn't really much. You create a type as money and you can assign values
such as '$123,456.78' (dollar sign optional) to it and it displays it

ARRRRGGHHHHHHHH!!!!!!!! Another example where a nice feature has been
introduced but not documented! THERE IS NO POINT in having features if
people don't know how to use them.

Is this now documented????

Hi Andrew. I've added a section on data types, including boolean and money, to
the new SGML-based docs which should be available for v6.3. Looking forward to
your comments (and patches?) :)

http://alumni.caltech.edu/~lockhart/postgres/doc/html/index.sgml

- Tom

#3Thomas G. Lockhart
lockhart@alumni.caltech.edu
In reply to: Andrew Martin (#1)
Re: [HACKERS] Re: Re: [PORTS] the 'money' type

this url is 404.. the html dir is empty..

Well, not exactly, but I have sgml on the brain. The file type is
"html", not "sgml".The URL is actually:

http://alumni.caltech.edu/~lockhart/postgres/doc/html/index.html

Sorry for the typo.

- Tom

Show quoted text

http://alumni.caltech.edu/~lockhart/postgres/doc/html/index.sgml