Re: Two PostgreSQL instances returning different output for same query

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Two PostgreSQL instances returning different output for same query
Date: 2022-08-30 15:50:48
Message-ID: 39157ae3-8341-a231-83a4-695685adcc4f@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2022-08-30 16:06:11 Re: Two PostgreSQL instances returning different output for same query
Previous Message hubert depesz lubaczewski 2022-08-30 15:49:18 Re: Two PostgreSQL instances returning different output for same query