Re: Authentication Question

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jason Hihn <jhihn(at)paytimepayroll(dot)com>, Pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Authentication Question
Date: 2003-12-16 16:58:21
Message-ID: 200312161758.21832.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jason Hihn wrote:
> 1st problem with using the DB's auth: We want usernames to be email
> addresses, but it chokes on the @ sign:
> # create user jh(at)paytimepayroll(dot)com with password 'cow';
> ERROR: syntax error at or near "@" at character 16

create user "jh(at)paytimepayroll(dot)com" ...;

> 2nd problem with using the DB's auth:
> I need to grant all permissions on all objects in a database to the
> new user. I have get to figure out how this is done easily. I had to
> do it table-by-table!

Use groups.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2003-12-16 17:09:02 Re: Authentication Question
Previous Message Bruno Wolff III 2003-12-16 16:57:06 Re: Authentication Question