sraoss / pg_ivm

IVM (Incremental View Maintenance) implementation as a PostgreSQL extension
Other
854 stars 24 forks source link

Support exists_subquery #53

Closed thoshiai closed 10 months ago

thoshiai commented 1 year ago

Simple EXISTS clause is supported by this patch. A query is not supported when WHERE clause has OR-condition or JOIN-condition is not contained by targetlist.

yugo-n commented 1 year ago

I made some review comments. Especially, I think it would be nice if we have more comments in the code because we do somewhat complicated things for handling EXITS.

Also, could you please update README?

thoshiai commented 1 year ago

Thank you for your review. I fixed and add README messages

yugo-n commented 11 months ago

I found that the following view definition caused a segmentation fault.

select create_immv('xx2', 'select exists(select 1 from t) from t2 ');

Could you fix the query check to prevent this?

yugo-n commented 11 months ago

Thank you for adding the description that EXISTS subqueries are supported to README!

If I understand correctly, I wonder that it would better to add the following information:

thoshiai commented 11 months ago

fix segmentation fault and add README