Changes between Initial Version and Version 1 of Ticket #34255, comment 2


Ignore:
Timestamp:
Jan 12, 2023, 1:01:21 PM (21 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34255, comment 2

    initial v1  
    3232
    3333When a group alias is ultimately masked, similarly to how we've done it with window functions filtering and value masking.
     34
     35---
     36
     37Edit, another solution could be to have the psycopg3 query `%s -> $n` logic de-duplicate equal values and avoid using multiple placeholders for them. That would result in the query being written as the user reported here at the expense of equality checks (or possibly identity/hash checks which are cheaper) on each query creation which I believe would require adjustments to the current caching strategy.
Back to Top