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

Commit200bc52

Browse files
author
Thomas G. Lockhart
committed
Include explicit SQL update instructions.
Should have been here in time for 6.2.1 release...
1 parent789d075 commit200bc52

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)

[8]ページ先頭

©2009-2025 Movatter.jp