Peter has fixed this in CVS. Thanks for the report.
---
Richard Huxton wrote:
> Versions: 7.3, 7.4beta (not latest)
> Applies to SQL functions, but not apparently to plpgsql (because of the
> different parser, I presume).
(gdb) run
Starting program: /root/src/postgresql-7.4beta4/contrib/pg_autovacuum/pg_autovacuum
[2003-10-09 05:28:13 PM] Failed connection to database template1 with error: FATAL:
user "root" does not exist
.
Program received signal SIGSEGV, Segmentation fault.
0x0804a132 in check_stats_enabled (