Re: Problem apache - postgres
Hamish Moffatt wrote:
>
> On Sat, Sep 26, 1998 at 11:39:15AM +0200, Allan Jacobsen wrote:
> > Apache runs as user www-data, so to be able to
> > access postgresql I wanted to create a postgres
> > user "www-data", but createuser says "illegal
> > character in user name".
> > Does anyone know an easy way around this ?
>
> This is reported as bug #23945 and #23699 against the package
> www-pgsql. It is a bug in postgres's GRANT utility; even when quoted,
> it doesn't allow the hyphen, although apparently the rest of pgsql
> works just fine with it.
>
> If you're having this problem trying to use www-pgsql, you can change
> your connect command to
Well, as I am trying to use php3 with postgresql
it is not a bug in www-pgsql.
I will try to get it solved with the postgresql
guys.
Best regards
Allan Jacobsen
Reply to: