In preparing to run the 3.2.4 >> 3.2.5 upgrade scripts, I decided to
first dump and restore my database first, just to be sure that would
work. It doesn't.
The first thing it encounters is an ordering problem, the function
'user_vacations_kludge' is used before it is created (by two views).
salary_divisor, salary_multiplier and im_projects_level have the same
problems.
Then there are three messages 'ERROR: DefineIndex: opclass
"float4_ops" does not accept datatype "float8"' which I think are
related to:
CREATE INDEX "ec_categories_sort_idx" on "ec_categories" using btree
( "sort_key" "float4_ops" );
CREATE INDEX "ec_subcategories_idx2" on "ec_subcategories" using
btree ( "sort_key" "float4_ops" );
CREATE INDEX "ec_subsubcategories_idx2" on "ec_subsubcategories"
using btree ( "sort_key" "float4_ops" );
which are the only three float4_ops grep will find.
Then a lot of:
Function 'setval(unknown, int4, unknown)' does not exist
Unable to identify a function that satisfies the given
argument types
You may need to add explicit typecasts
Which may come from the double quoting or something as there are a
similar amount of these:
--
-- TOC Entry ID 3 (OID 21579)
--
-- Name: lob_sequence Type: SEQUENCE SET Owner:
--
SELECT setval ('"lob_sequence"', 1, 'f');
Is this something alarming, or is it something as simple as loading
postgres.sql as in 7.0?