Bob <luckyratfoot(at)gmail(dot)com> writes:
> Doesn't that really only save you from having someone come in at the OS
> level and copying your data files and than moutning them on a differet
> server/database. A person could still come in to psql as a dba or anyone for
> that matter with the proper select grants and query off that data and see it
> in encrypted.
Yeah, the real question here is what threats are you trying to defend
against. "I need an encrypted database" is pretty nearly a meaningless
statement --- first tell us who the attacker is that you're worried about.
regards, tom lane