Re: Dead code in ps_status.c
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-02-17T02:22:39Z
Lists: pgsql-hackers
On Fri, Feb 17, 2023 at 3:38 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > My account still works, and what I see on wrasse's host is > > tgl@gcc-solaris11:~$ gcc -x c /dev/null -dM -E | grep -i svr > #define __SVR4 1 > #define __svr4__ 1 > tgl@gcc-solaris11:~$ gcc -x c /dev/null -dM -E | grep -i sun > #define __sun 1 > #define sun 1 > #define __sun__ 1 > > I don't know a way to get the list of predefined macros out of the > compiler wrasse is actually using (/opt/developerstudio12.6/bin/cc), > but doing some experiments with #ifdef confirmed that it defines > __sun, __sun__, and __svr4__, but not __svr5__. Thanks. I went with __sun, because a random man page google found me for Sun "cc" mentioned that but not __sun__. Pushed. http://www.polarhome.com/service/man/?qf=cc&tf=2&of=Solaris&sf=1
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
- 29a3e22f3568 14.21 landed
- 3995e4a9d8c6 15.16 landed
- 32b236644d33 19 (unreleased) landed
- bcfca332f100 18.2 landed
- d66a922f9247 17.8 landed
- a1407daded69 16.12 landed
-
Remove obsolete platforms from ps_status.c.
- d2ea2d310dfd 16.0 landed