Re: [HACKERS] subquery in CHECK constraint

2014-07-18 Thread Tatsuo Ishii
> I think the basic problem would be what the check constraint subquery > meant to the user, and how useful that is expected to be in general. A > subquery in a check constraint would presumably involve checking the > subquery using an existing snapshot of the command that required the > constraint

Re: [HACKERS] subquery in CHECK constraint

2014-07-18 Thread Tom Lane
Peter Geoghegan writes: > On Fri, Jul 18, 2014 at 7:31 PM, Tatsuo Ishii wrote: >> Has anybody tried to implement subquery in CHECK constaint? If so, >> what are issues to implement it? Or the feature is not worth the >> effort? Comments and/or opinions are welcome. > I think the basic problem wo

Re: [HACKERS] subquery in CHECK constraint

2014-07-18 Thread Peter Geoghegan
Hi, On Fri, Jul 18, 2014 at 7:31 PM, Tatsuo Ishii wrote: > Has anybody tried to implement subquery in CHECK constaint? If so, > what are issues to implement it? Or the feature is not worth the > effort? Comments and/or opinions are welcome. I think the basic problem would be what the check const

[HACKERS] subquery in CHECK constraint

2014-07-18 Thread Tatsuo Ishii
Hi, Has anybody tried to implement subquery in CHECK constaint? If so, what are issues to implement it? Or the feature is not worth the effort? Comments and/or opinions are welcome. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www