Re: Two PostgreSQL instances returning different output for same query

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Two PostgreSQL instances returning different output for same query
Дата
Msg-id 39157ae3-8341-a231-83a4-695685adcc4f@gmail.com
обсуждение исходный текст
Ответ на Two PostgreSQL instances returning different output for same query  (John Scalia <jayknowsunix@gmail.com>)
Список pgsql-admin
On 8/30/22 10:21, 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 pg version 12.3 in AWS RDS, and I’ve used the same psql version 13.4.

Obligatory "why are you using 12.3 when 12.11 is the latest?"  Upgrading takes all of 15 minutes.

The query is a simple:  SELECT to_jsonb(geom) FROM addresses LIMIT 1;

Are you sure that they are the same record?  (I always use ORDER BY with "LIMIT 1" when comparing records.)

--
Angular momentum makes the world go 'round.

В списке pgsql-admin по дате отправления:

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Two PostgreSQL instances returning different output for same query
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Two PostgreSQL instances returning different output for same query