Alvaro Herrera <alvhe...@alvh.no-ip.org> writes: > I wonder if we could just adopt pid_t for PIDs.
We could (if somebody is willing to find and change all the relevant declarations). But that doesn't do anything at all to clarify which printf format code to use for them. Note that the POSIX snippet you quote doesn't actually guarantee that pid_t is not wider than "long". So while we could convert all these places to printf("...%ld...", (long) pid_t_variable_here); that's still not formally correct. Since we have yet to see a platform where our current habit of casting pids to int doesn't work just as well, I'm inclined not to bother changing anything here. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers