Andres Freund wrote: > Hi, > > On 2014-08-21 15:25:44 +0000, Baker, Keith [OCDUS Non-J&J] wrote: > > About SA_RESTART: > > ------------------------ > > I would like to offer you a different perspective which may alter your > > current opinion. > > I believe the port.h QNX macro replacement for SA_RESTART is still a > > reasonable solution on QNX for these reasons: > > > > First, I think it is better to adapt PostgreSQL to suit the platform > > than to adapt the platform to suit PostgreSQL. > > Well. That might be somewhat true for a popular platform. Which QNX > really isn't. I personally don't believe your approach to be likely to > end up with a correct and maintainable port. > > > Changing default behavior of libc on QNX to suit PostgreSQL may break > > other applications which rely on the current behavior of libc. > > I don't see how *adding* SA_RESTART support which would only be used > when SA_RESTART is being passed to sigaction(), would do that.
I guess the important question here is how much traction does Keith have with the QNX development group. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers