Re: Patch: forcing object owner in TOC file - Mailing list pgsql-hackers

From Piotr Gasidło
Subject Re: Patch: forcing object owner in TOC file
Date
Msg-id CAF8akQvLogYnA4wcDSa_X56-DRu-DW29AM7-arLbKZrBznBhqw@mail.gmail.com
Whole thread Raw
In response to Re: Patch: forcing object owner in TOC file  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
2012/10/15 Andrew Dunstan <andrew@dunslane.net>:
> Sorry, but this doesn't strike me as a very good idea at all. Why not just
> alter the table ownership after the restore is done?

Yes, I could restore, wrote later ALTER ... OWNER TO ... - but this
method allowed me to do it quicker.

> If we start allowing
> stuff other than the TOC ID to be specified in the list file the
> modifications will never end.

Understood, sounds reasonably.

> BTW, I realize your patch is small, but it's usually a good idea to discuss
> an idea on the mailing list before sending in a patch.

I've new here, next time I will send idea and wait for response before
sending any patch.

--
Piotr Gasidło



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Truncate if exists
Next
From: Simon Riggs
Date:
Subject: Re: Deprecating RULES