Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 200bc52

Browse files
author
Thomas G. Lockhart
committed
Include explicit SQL update instructions.
Should have been here in time for 6.2.1 release...
1 parent 789d075 commit 200bc52

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
@@ -12,3 +12,11 @@ from psql to update the existing system table:
1212
where aggname = 'avg' and aggbasetype = 790;
1313

1414
This will need to be done to every existing database, including template1.
15+
16+
Another way to avoid dump/reload is to use the following SQL command
17+
from psql to update the existing system table:
18+
19+
update pg_aggregate set aggfinalfn = 'cash_div_flt8'
20+
where aggname = 'avg' and aggbasetype = 790;
21+
22+
This will need to be done to every existing database, including template1.

0 commit comments

Comments
 (0)