"David G. Johnston" <david.g.johns...@gmail.com> writes: > As you note - moving runtime checks to "SET" time has value and this patch > brings that value. But it is not evident there is enough value to take on > the added complexity. There are few to no requests asking for this ability.
If anything, I'd say we have decades of experience showing that early checking of GUC values creates more problems than it solves. There are too many cases where necessary context is not available at the time of setting the value. Particularly, CREATE FUNCTION ... SET and ALTER DATABASE/USER ... SET are problematic for this. regards, tom lane