I've applied the CTAS patch after rather heavy editorialization. Don'tknow what consequences that will have for Dimitri's patch.
regards, tom lane