[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Web servers bug ?



Daniel Podlejski wrote:
  >1. Apache work as www-data ...
  >2. I don't try other WWW serwers
  >3. Try add www-data user to postgres ...
 
Sorry, you'll need PostgreSQL 6.5 to do this successfully, because of a 
bug in GRANT in earlier versions; see the bug database for postgresql.
Briefly, you can create a username with a hyphen in it, but you can't
grant permissions to it.

6.5 is due to be released in June; you can get the beta from
www.postgresql.org.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Do not repay anyone evil for evil. Be careful to do
      what is right in the eyes of all men."     
                            Romans 12:17 



Reply to: