pgsql: Backpatch BCC compile changes to 8.0.X for psql.

Started by Bruce Momjianabout 21 years ago3 messagescomitters
Jump to latest
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: pgsql: Backpatch BCC compile changes to 8.0.X for psql.

momjian@svr1.postgresql.org (Bruce Momjian) writes:

startup.c (r1.113 -> r1.114)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c.diff?r1=1.113&r2=1.114)

You probably just broke at least one Unix platform. My recollection is
that "int optreset", not "extern int optreset", is essential on the
platforms that don't HAVE_INT_OPTRESET. Certainly we do that
everyplace else.

Please wrap this change in a suitable bcc #ifdef.

regards, tom lane

#3Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#2)
Re: pgsql: Backpatch BCC compile changes to 8.0.X for psql.

Tom Lane wrote:

momjian@svr1.postgresql.org (Bruce Momjian) writes:

startup.c (r1.113 -> r1.114)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c.diff?r1=1.113&r2=1.114)

You probably just broke at least one Unix platform. My recollection is
that "int optreset", not "extern int optreset", is essential on the
platforms that don't HAVE_INT_OPTRESET. Certainly we do that
everyplace else.

Please wrap this change in a suitable bcc #ifdef.

OK, I just put it back to original because I couldn't get it to link
anyway for BCC.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073