From 200bc52b8db1a5e711503bbdef237ce51425c578 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Sat, 25 Oct 1997 05:05:06 +0000 Subject: [PATCH] Include explicit SQL update instructions. Should have been here in time for 6.2.1 release... --- migration/6.2_to_6.2.1 | 8 ++++++++ 1 file changed, 8 insertions(+) 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.