> > > I don't think this is a good way to do this. The method you're using > only supports this optimisation when querying a table directly. If > there were subqueries, joins, etc then it wouldn't work as there are > no unique indexes. You should probably have a look at [1] to see > further details of an alternative method without the said limitations. > > David > > [1] > https://postgr.es/m/flat/CAKU4AWqZvSyxroHkbpiHSCEAY2C41dG7VWs%3Dc188KKznSK_2Zg%40mail.gmail.com > > The nullable tracking blocker probably has been removed by varnullingrels so I will start working on UniqueKey stuff very soon, thank you David for remember of this feature!
-- Best Regards Andy Fan