What version of PG are you running? If 8.x.x, make sure you set these params in postgresql.conf
add_missing_from = on
default_with_oids = on
regex_flavor = extended
thanks, that solve my problem!... when i did it a the first time i didnt restart the service... so thats the reason it didn't work the first time...
Thank You