Обсуждение: Re: Re: [PORTS] the 'money' type
> > 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
> > > > 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
> 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 > > http://alumni.caltech.edu/~lockhart/postgres/doc/html/index.sgml