Re: More efficient build farm animal wakeup?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(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:27:44
Message-ID: 537db051-53e3-2e36-e802-f534a84e6eca@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2022-11-21 22:34:23 Re: More efficient build farm animal wakeup?
Previous Message Tom Lane 2022-11-21 22:15:53 Re: Damage control for planner's get_actual_variable_endpoint() runaway