Changes between Initial Version and Version 1 of Ticket #34840, comment 1


Ignore:
Timestamp:
Sep 13, 2023, 6:26:25 PM (13 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34840, comment 1

    initial v1  
    11We should try to avoid casts if possible (IIRC they are only required for server-side bindings).
    22
    3 Out of curiosity, if you try re-creating your `UniqueConstraint` on 4.2, are they created with casts?
     3Out of curiosity, if you try re-creating your `UniqueConstraint` on 4.2, are they created with casts? By that I'm in no mean implying that a solution to this problem is to force the re-creation of constraints on each releases but I want to have an idea of the scope of the problem.
     4
     5If that's the case it means that reverting to no cast in a minor release might break Postgres query planer the other around where constraints are created with `::text` but queries don't use them.
Back to Top