Re: Two PostgreSQL instances returning different output for same query
В списке pgsql-admin по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Two PostgreSQL instances returning different output for same query |
| Дата | |
| Msg-id | 20220830162002.GA20650@depesz.com обсуждение исходный текст |
| Ответ на | Two PostgreSQL instances returning different output for same query (John Scalia <jayknowsunix@gmail.com>) |
| Список | pgsql-admin |
On Tue, Aug 30, 2022 at 11:21:26AM -0400, John Scalia wrote: > I’m a bit stumped on this one. For one of my application teams both their DEV instance and UAT instance are running pgversion 12.3 in AWS RDS, and I’ve used the same psql version 13.4. > > The query is a simple: SELECT to_jsonb(geom) FROM addresses LIMIT 1; > > On both databases the geom field is of data type geometry from postgis, but the two dbs are running different versionsof Postgis. DEV is 3.0.2 while UAT is 2.5.2, but I don’t think this is causing the issue. Changelog for postgis 3.0.0 shows: 3687, Casts json(geometry) and jsonb(geometry) for implicit GeoJSON generation (Paul Ramsey) looks to be very related. Best regards, depesz
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера