Commit addf9d5f authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Include recipe for updating pg_aggregate to fix avg(money) function.

parent b268758a
...@@ -4,3 +4,11 @@ but is required from any release prior to v6.2. ...@@ -4,3 +4,11 @@ but is required from any release prior to v6.2.
In upgrading from v6.2, if you choose to dump/reload you will find that In upgrading from v6.2, if you choose to dump/reload you will find that
avg(money) is now calculated correctly. All other bug fixes take effect avg(money) is now calculated correctly. All other bug fixes take effect
upon updating the executables. upon updating the executables.
Another way to avoid dump/reload is to use the following SQL command
from psql to update the existing system table:
update pg_aggregate set aggfinalfn = 'cash_div_flt8'
where aggname = 'avg' and aggbasetype = 790;
This will need to be done to every existing database, including template1.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment