Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaddf9d5

Browse files
author
Thomas G. Lockhart
committed
Include recipe for updating pg_aggregate to fix avg(money) function.
1 parentb268758 commitaddf9d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎migration/6.2_to_6.2.1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@ but is required from any release prior to v6.2.
44
In upgrading from v6.2, if you choose to dump/reload you will find that
55
avg(money) is now calculated correctly. All other bug fixes take effect
66
upon updating the executables.
7+
8+
Another way to avoid dump/reload is to use the following SQL command
9+
from psql to update the existing system table:
10+
11+
update pg_aggregate set aggfinalfn = 'cash_div_flt8'
12+
where aggname = 'avg' and aggbasetype = 790;
13+
14+
This will need to be done to every existing database, including template1.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp