Bug reference: 15904 Logged by: Lakradi Marwan Email address: lakradimarwan@gmail.com PostgreSQL version: 11.4 Operating system: Mac OS X - High Sierra Description:
I don't see the point, what is the main difference between summary.amount_summed which is a float, and directly pass 100.0 ?
A limit applies to the query as a whole and cannot depend on individual records. If you think that is wrong explain what the following query is supposed to return and why.