Re: Fix for pg_upgrade user flag

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-05-07T17:43:21Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> One question I have is why we even bother to allow the database username
> to be specified?  Shouldn't we just hard-code that to 'postgres'?

Only if you want to render pg_upgrade unusable by a significant fraction
of people.  "postgres" is not the hard wired name of the bootstrap
superuser.

			regards, tom lane