From: Thomas G. Lockhart Date: Sat, 25 Oct 1997 05:05:06 +0000 (+0000) Subject: Include explicit SQL update instructions. X-Git-Tag: REL6_3~763 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=200bc52b8db1a5e711503bbdef237ce51425c578;p=postgresql Include explicit SQL update instructions. Should have been here in time for 6.2.1 release... --- diff --git a/migration/6.2_to_6.2.1 b/migration/6.2_to_6.2.1 index 294f5f0158..09a4118d32 100644 --- a/migration/6.2_to_6.2.1 +++ b/migration/6.2_to_6.2.1 @@ -12,3 +12,11 @@ from psql to update the existing system table: where aggname = 'avg' and aggbasetype = 790; This will need to be done to every existing database, including template1. + +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.