Use array as object (src/fe_utils/parallel_slot.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Use array as object (src/fe_utils/parallel_slot.c)
Date
Msg-id CAEudQAokk1h_pUwGXsYS4oVOuf35s1O2o3TXGHpV8=AWikvgHA@mail.gmail.com
Whole thread Raw
Responses Re: Use array as object (src/fe_utils/parallel_slot.c)
List pgsql-hackers
Hi,

One other case suspicious, which I think deserves a conference.
At function wait_on_slots (src/fe_utils/parallel_slot.c)
The variable "slots" are array, but at function call SetCancelConn,
"slots" are used as an object, which at the very least would be suspicious.

cancelconn wouldn't that be the correct argument?

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Avoid unecessary MemSet call (src/backend/utils/cache/relcache.c)
Next
From: "Euler Taveira"
Date:
Subject: Re: Allow logical replication to copy tables in binary format