Re: numerics lose scale and precision in views of unions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Brian C(dot) DeRocher" <brian(dot)derocher(at)mitretek(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: numerics lose scale and precision in views of unions
Date: 2006-08-09 22:20:08
Message-ID: 29918.1155162008@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

"Brian C. DeRocher" <brian(dot)derocher(at)mitretek(dot)org> writes:
> It appears that when you create a view of a union, numeric data types
> loose their scale and precision.

I think this is the same issue discussed here:
http://archives.postgresql.org/pgsql-hackers/2004-12/msg00408.php

That was just before 8.0 release, so the change got postponed and then
seems to have slipped through the cracks :-(. Any objections to
fixing it for 8.2?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jim C. Nasby 2006-08-09 22:26:50 Re: BUG #2567: High IOWAIT
Previous Message Brian C. DeRocher 2006-08-09 21:24:41 numerics lose scale and precision in views of unions

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-09 22:22:03 Re: [GENERAL] WIN32 Build?
Previous Message Tom Lane 2006-08-09 22:04:49 Re: Plugins redux (was Re: [PATCHES] PL instrumentation plugin