"Donald Fraser" <demolish(at)cwgsy(dot)net> writes:
> When I do a backup from the database using pg_dumpall (with no command line=
> options) it creates the following:
> CREATE DATABASE "CISX" WITH OWNER =3D postgres TEMPLATE =3D template0 ENCOD=
> ING =3D 'SQL_ASCII';
> I don't know whether this is a bug or not
It is not; the use of template0 is intentional. (Otherwise, whatever
local additions may exist in template1 would get duplicated.)
regards, tom lane