El 15/09/2013 17:13, "Marko Tiikkaja" <ma...@joh.to> escribió: > > On 2013-09-15 23:23, Jaime Casanova wrote: >> >> If using ASSERT as keyword is not acceptable, not that i agree but in case. >> What about using RAISE EXCEPTION WHEN (condition) > > > I think it would be extremely surprising if a command like that got optimized away based on a GUC, so I don't think that would be a good idea. > >
Ah! good point, didn't think on that -- Jaime Casanova 2ndQuadrant: Your PostgreSQL partner