Re: [HACKERS] New CORRESPONDING clause design - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [HACKERS] New CORRESPONDING clause design
Date
Msg-id CAFj8pRDURNQcMwgf=G0wqNRJQk-2fgwf8eJdNCzpYqa1WLafjg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] New CORRESPONDING clause design  (Surafel Temesgen <surafel3000@gmail.com>)
Responses Re: [HACKERS] New CORRESPONDING clause design  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi

2017-03-14 16:33 GMT+01:00 Surafel Temesgen <surafel3000@gmail.com>:

hi

Some errors are related to just CORRESPONDING without any columns. So using expr doesn't help here. So parse node CORRESPONDING can solve both issues.   
 In current implementation pointing to a node means pointing to a node’s first element so I don’t think we can be able to point to CORRESPONDING without any columns

I find out that there is already a node prepare for the case called A_Const.
The attached patch use that node 

It looks better

I fixed format of comments and some too long lines. 

all regress tests passed

I have not any objection - I'll mark this patch as ready for commiter

Regards

Pavel

 

Regards 
Surafel

Attachment

pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings
Next
From: Yugo Nagata
Date:
Subject: Re: [HACKERS] Report the number of skipped frozen pages by manualVACUUM