?Any way to dump the grants on all tables/sequences in a DB to a text file?
regards
richard
Re: Dumping grants
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
richard terry writes:
> ?Any way to dump the grants on all tables/sequences in a DB to a text file?
There's no canned solution for that, but you could run "pg_dump -s"
and then grep the output for GRANT statements.
regards, tom lane