Re: pgAdmin3 bug - Mailing list pgadmin-support

From Giovanni P. Tirloni
Subject Re: pgAdmin3 bug
Date
Msg-id 20571.200.181.210.22.1092842616.squirrel@webmail.bs2.com.br
Whole thread Raw
In response to Re: pgAdmin3 bug  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-support
Andreas Pflug disse:
> min@pse-consulting.de> wrote:
>
>>
>> I didn't enter " in the name field.  The login name is stevie-o.
>> Because the hyphen is treated as a token separator, the grant
>> statement (as SQL) needs to look like this:
>>
>> GRANT SELECT ON TABLE foo TO "stevie-o"
>>
>> But when pgAdmin3 tries to show the SQL that would recreate table foo,
>>  it appears to be adding two additional pairs of quotation marks.
>>
>
> Can anybody check this on 7.4? On 8.0 the acl has \" in it, seems this
> is new.
>
> Regards,
> Andreas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
This is pgadmin3 (2004/08/17) with PostgreSQL 7.4.3. It shows:
GRANT SELECT ON TABLE foo TO "\""stevie-o\""";
after I used this on psql:
GRANT SELECT ON TABLE foo TO "stevie-o";

-- 
Giovanni P. Tirloni



pgadmin-support by date:

Previous
From: "Patel, Biren"
Date:
Subject: Error Message: Index out of bounds
Next
From: Andreas Pflug
Date:
Subject: Re: pgAdmin3 bug