Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Andrew Dunstan" <andrew@dunslane.net>
Cc: simon@2ndquadrant.com, pgman@candle.pha.pa.us, kleptog@svana.org, gsstark@mit.edu, pg@rbt.ca, zhouqq@cs.toronto.edu, pgsql-hackers@postgresql.org
Date: 2005-12-30T14:57:06Z
Lists: pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> writes: > Simon Riggs said: >> Following Andrew's concerns, I'd also note that ALTER TABLE requires a >> much higher level of privilege to operate than does COPY. That sounds >> like it will make things more secure, but all it does is open up the >> administrative rights, since full ownership rights must be obtained >> merely to load data. > My concern is more about making plain that this is for special operations, > not normal operations. Or maybe I have misunderstood the purpose. Rephrase that as "full ownership rights must be obtained to load data in a way that requires dropping any existing indexes and locking out other users of the table". I don't think the use-case for this will be very large for non-owners, or indeed even for owners except during initial table creation; and so I don't think the above argument is strong. regards, tom lane