pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Two PostgreSQL instances returning different output for same query
Date: Tue, 30 Aug 2022 10:50:48 -0500
Message-ID: <39157ae3-8341-a231-83a4-695685adcc4f@gmail.com> (raw)
In-Reply-To: <C1D9F597-B620-43B4-8561-49A8725BCBA1@gmail.com>
References: <C1D9F597-B620-43B4-8561-49A8725BCBA1@gmail.com>

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.

view thread (6+ messages)  latest in thread

Message-ID: <39157ae3-8341-a231-83a4-695685adcc4f@gmail.com>
Permalink:  ../39157ae3-8341-a231-83a4-695685adcc4f@gmail.com/
Also on:    postgresql.org/message-id/39157ae3-8341-a231-83a4-695685adcc4f@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Two PostgreSQL instances returning different output for same query
  In-Reply-To: <39157ae3-8341-a231-83a4-695685adcc4f@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox