From: | Frank Komsic <komsicf(at)shoeicanada(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "pgsql-sql(at)lists(dot)postgresql(dot)org" <pgsql-sql(at)lists(dot)postgresql(dot)org> |
Subject: | Re: SQL statements error in pgsql 16 but not in pgsql 12 |
Date: | 2024-07-16 18:01:35 |
Message-ID: | BL3PR05MB92365E0925E92F6830C83229B3A22@BL3PR05MB9236.namprd05.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Thank you for your reply.
I gather I will have to lookover the entire code and set the SQL statements correctly.
Thanks
Frank
From: David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Date: Monday, July 15, 2024 at 7:24 PM
To: Frank Komsic <komsicf(at)shoeicanada(dot)com>
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: SQL statements error in pgsql 16 but not in pgsql 12
On Mon, Jul 15, 2024 at 3:57 PM Frank Komsic <komsicf(at)shoeicanada(dot)com<mailto:komsicf(at)shoeicanada(dot)com>> wrote:
The above sql command works in version 12 but does not work in version 16 due to missing space in “WHERE (lot = 19749OR lot= 19750)”
Why did this work before and now it does not work?
It seems to be a side-effect of supporting non-decimal literals.
https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d(at)enterprisedb(dot)com
Git: 6fcda9aba83449082124825b6d375c0a61e21c42
This comment in particular refers to a v15 change that is probably related if you want to dive deeper.
Suffice to say, we became more strict here since v12 and you will need to modify the query accordingly.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Bharani SV-forum | 2024-07-18 14:50:14 | Re: SQL statements error in pgsql 16 but not in pgsql 12 |
Previous Message | David G. Johnston | 2024-07-16 15:00:06 | Re: SQL statements error in pgsql 16 but not in pgsql 12 |