syntax sugar for conditional check - Mailing list pgsql-hackers

From Alexander Ostrow
Subject syntax sugar for conditional check
Date
Msg-id 61B8D172-D35A-4715-A793-6EFDD2795E5D@epcylon.com
Whole thread Raw
Responses Re: syntax sugar for conditional check
Re: syntax sugar for conditional check
List pgsql-hackers
Hello, <div class=""><div class=""><br class="" /></div><div class="">I thought it would be cool to have conditional
checksyntax, which gets converted to simple check constraint syntax. </div><div class=""><br class="" /></div><div
class="">Here’sa gist:</div><div class=""><br class="" /></div><div class=""><a class=""
href="https://gist.github.com/aj0strow/5a07f2ddcad324c4dac2c4095c821999">https://gist.github.com/aj0strow/5a07f2ddcad324c4dac2c4095c821999</a></div><div
class=""><brclass="" /></div><div class="">It’s just sugar, but i think it would make check constraints easier to read,
andeasier to write without backwards boolean logic. </div><div class=""><br class="" /></div><div class="">Thank
you,</div><divclass=""><br class="" /></div></div><div class="">AJ</div><div class=""><br class="" /></div> 

pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: raw output from copy
Next
From: Michael Banck
Date:
Subject: Re: So, can we stop supporting Windows native now?