Re: Two PostgreSQL instances returning different output for same query - Mailing list pgsql-admin

From Ron
Subject Re: Two PostgreSQL instances returning different output for same query
Date
Msg-id 39157ae3-8341-a231-83a4-695685adcc4f@gmail.com
Whole thread Raw
In response to Two PostgreSQL instances returning different output for same query  (John Scalia <jayknowsunix@gmail.com>)
List 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 by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Two PostgreSQL instances returning different output for same query
Next
From: Tom Lane
Date:
Subject: Re: Two PostgreSQL instances returning different output for same query