Re: More efficient build farm animal wakeup?

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More efficient build farm animal wakeup?
Date: 2022-11-21 22:34:23
Message-ID: CABUevExHQU4ZceqVaMZq9X_Vr4y5yS-bVMq5b7kBVNeP+HhFDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 21, 2022 at 11:27 PM Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>
> On 2022-11-21 Mo 16:26, Magnus Hagander wrote:
>
> >
> > Is there a reason this file is a list of hashes each hash with a
> > single value in it? Would it make more sense if it was:
> > {
> > "REL_11_STABLE": "140c803723",
> > "REL_12_STABLE": "4cbcb7ed85",
> > "REL_13_STABLE": "c13667b518",
> > "REL_14_STABLE": "5cda142bb9",
> > "REL_15_STABLE": "ff9d27ee2b",
> > "HEAD": "51b5834cd5"
> > }
> >
>
>
> No. It's the way it is because the client relies on their being in the
> right order. JSON hashes are conceptually unordered.
>

Ah yeah, if they need to be ordered that certainly makes more sense.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2022-11-21 22:35:31 Re: [PATCH] Add <<none>> support to sepgsql_restorecon
Previous Message Andrew Dunstan 2022-11-21 22:27:44 Re: More efficient build farm animal wakeup?