The cleanup on the scripts I recently did contained that, too. I think
it's on hold now because I'm going to fix up the create user SQL statement
to allow picking your user id first. Or was there any other reason?
Anyway, just letting you know that this problem has been recognized.
-Peter
On 1999-11-18, Bruce Momjian mentioned:
>
> Applied. Will appear in 7.0
>
>
> > I fixed a _very_ little bug in createdb and destroydb that prevents the
> > creation of postgresql users whose name contains special characters, and
> > especially '-', useful when accessing a database through a CGI script, whose
> > user is 'www-data' by default.
>
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden