Have BackendXidGetPid return pid_t - Mailing list pgsql-hackers

From Sami Imseih
Subject Have BackendXidGetPid return pid_t
Date
Msg-id CAA5RZ0uitUJ7syh+=2fE6U_X9sODcpm2OkdrFVqYFhpK20VgtQ@mail.gmail.com
Whole thread Raw
Responses Re: Have BackendXidGetPid return pid_t
List pgsql-hackers
Hi,

While looking at something nearby, I noticed that BackendXidGetPid()
uses an "int" for "pid", where it should be used "pid_t" like in other
places in the code including in procarray.c.

Here is a small patch to fix this.


Thanks,

--
Sami Imseih
Amazon Web Services (AWS)

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgresql.conf.sample tab width
Next
From: Tom Lane
Date:
Subject: Re: Have BackendXidGetPid return pid_t