<p dir="ltr"><p dir="ltr">El 2/7/2016 20:33, "Euler Taveira" <<a
href="mailto:euler@timbira.com.br">euler@timbira.com.br</a>>escribió:<br /> ><br /> > On 02-07-2016 22:04,
Andreas'ads' Scherbaum wrote:<br /> > > The attached patch adds a new function "to_date_valid()" which will<br />
>> validate the date and return an error if the input and output date do<br /> > > not match. Tests
included,documentation update as well.<br /> > ><br /> > Why don't you add a third parameter (say, validate =
true| false)<br /> > instead of creating another function? The new parameter could default to<br /> > false to
notbreak compatibility.<br /> ><p dir="ltr">Shouldn't we fix this instead? Sounds like a bug to me. We don't usually
wantto be bug compatible so it doesn't matter if we break something. <p dir="ltr">--<br /> Jaime Casanova
<ahref="http://www.2ndQuadrant.com/">http://www.2ndQuadrant.com/</a><br /> PostgreSQL Development, 24x7 Support,
Training& Services