> Further investigation shows
>
> template1=# select min(oid),max(oid) from pg_aggregate;
> min | max
> ------+------
> 2503 | 2558
> (1 row)
>
> This is bogus. The pg_aggregate entries should have OIDs above
> 16384, not down in the reserved-OID range. It looks to me like
> initial startup of the OID counter is wrong with WAL enabled.
Thanks - I'll take a look.
Vadim