Re: [HACKERS] Money type todos?

2007-03-21 Thread db
Dennis Bjorklund [EMAIL PROTECTED] writes: What is the reason to keep it? The words-of-one-syllable answer is that D'Arcy Cain is still willing to put work into supporting the money type, and if it still gets the job done for him then it probably gets the job done for some other people

Re: [HACKERS] Money type todos?

2007-03-21 Thread August Zajonc
Tom Lane wrote: Dennis Bjorklund [EMAIL PROTECTED] writes: Tom Lane skrev: Whether it is actually ever going to disappear is not agreed upon. What is the reason to keep it? The words-of-one-syllable answer is that D'Arcy Cain is still willing to put work into supporting the money type,

Re: [HACKERS] Money type todos?

2007-03-21 Thread Andrew Dunstan
August Zajonc wrote: The only other nice thing would be user defined precision, but can live without that as most currencies work under nnn.mm. That's useless for our system at least. The minimum scale we use for money values is 5. I guess we can just continue to use numeric though.

Re: [HACKERS] Money type todos?

2007-03-21 Thread D'Arcy J.M. Cain
On Wed, 21 Mar 2007 02:31:44 -0400 Tom Lane [EMAIL PROTECTED] wrote: Dennis Bjorklund [EMAIL PROTECTED] writes: Tom Lane skrev: Whether it is actually ever going to disappear is not agreed upon. What is the reason to keep it? The words-of-one-syllable answer is that D'Arcy Cain is

Re: [HACKERS] Money type todos?

2007-03-21 Thread D'Arcy J.M. Cain
On Wed, 21 Mar 2007 02:13:54 -0700 August Zajonc [EMAIL PROTECTED] wrote: Agreed with Tom on this one. Full usage of money is beyond tagged types etc. For example, when you earn money in another currency, it is the time at which you earn it that describes its value. So for PL accounts there is

Re: [HACKERS] Money type todos?

2007-03-21 Thread August Zajonc
Andrew Dunstan wrote: August Zajonc wrote: The only other nice thing would be user defined precision, but can live without that as most currencies work under nnn.mm. That's useless for our system at least. The minimum scale we use for money values is 5. I guess we can just continue to use

Re: [HACKERS] Money type todos?

2007-03-21 Thread Shane Ambler
August Zajonc wrote: Agreed with Tom on this one. Full usage of money is beyond tagged types etc. For example, when you earn money in another currency, it is the time at which you earn it that describes its value. So for PL accounts there is generally no change in exchange rates over time and

Re: [HACKERS] Money type todos?

2007-03-21 Thread Brian Hurt
Shane Ambler wrote: August Zajonc wrote: Agreed with Tom on this one. Full usage of money is beyond tagged types etc. For example, when you earn money in another currency, it is the time at which you earn it that describes its value. So for PL accounts there is generally no change in exchange

Re: [HACKERS] Money type todos?

2007-03-21 Thread August Zajonc
Shane Ambler wrote: August Zajonc wrote: For balance sheet accounts, their value at a given point in time in a home currency is of course dependent on exchange rates which creates the currency gain or loss on the PL side, the account that captures exchange rate movements. But this is

[HACKERS] Money type todos?

2007-03-20 Thread Joshua D. Drake
Hello, The money type is considered deprecated. I was also under the impression it would be eventually removed. Why are we accumulating TODOs for it? # -Make 64-bit version of the MONEY data type # Add locale-aware MONEY type, and support multiple currencies

Re: [HACKERS] Money type todos?

2007-03-20 Thread Tom Lane
Joshua D. Drake [EMAIL PROTECTED] writes: The money type is considered deprecated. I was also under the impression it would be eventually removed. Why are we accumulating TODOs for it? Because doing the TODOs would remove the reasons for deprecating it. Whether it is actually ever going to

Re: [HACKERS] Money type todos?

2007-03-20 Thread D'Arcy J.M. Cain
On Tue, 20 Mar 2007 11:24:00 -0700 Joshua D. Drake [EMAIL PROTECTED] wrote: The money type is considered deprecated. I was also under the impression it would be eventually removed. Why are we accumulating TODOs for it? # -Make 64-bit version of the MONEY data type Actually, this TODO is

Re: [HACKERS] Money type todos?

2007-03-20 Thread Neil Conway
D'Arcy J.M. Cain wrote: On Tue, 20 Mar 2007 11:24:00 -0700 Joshua D. Drake [EMAIL PROTECTED] wrote: # -Make 64-bit version of the MONEY data type Actually, this TODO is DONE. It's in HEAD now. That is what the - prefix denotes. -Neil ---(end of

Re: [HACKERS] Money type todos?

2007-03-20 Thread Dennis Bjorklund
Tom Lane skrev: The money type is considered deprecated. I was also under the impression it would be eventually removed. Why are we accumulating TODOs for it? Because doing the TODOs would remove the reasons for deprecating it. Whether it is actually ever going to disappear is not agreed

Re: [HACKERS] Money type todos?

2007-03-20 Thread Tom Lane
Dennis Bjorklund [EMAIL PROTECTED] writes: Tom Lane skrev: Whether it is actually ever going to disappear is not agreed upon. What is the reason to keep it? The words-of-one-syllable answer is that D'Arcy Cain is still willing to put work into supporting the money type, and if it still gets