Why can't my users connect to their normal Postgresql databases after upgrading from 8.1 to 8.4? Was a permission lost in the upgrade?

link|improve this question

58% accept rate
feedback

1 Answer

The CONNECT privilege was added in Postgresql 8.2 so it is not present in backups from earlier versions. You need to GRANT it after the upgrade like so:

GRANT CONNECT ON DATABASE foo TO bar;
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.