<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql.git/configure, branch REL9_1_STABLE</title>
<subtitle>This is the main PostgreSQL git repository.</subtitle>
<id>http://git.postgresql.org/cgit/postgresql.git/atom?h=REL9_1_STABLE</id>
<link rel='self' href='http://git.postgresql.org/cgit/postgresql.git/atom?h=REL9_1_STABLE'/>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/'/>
<updated>2016-10-24T20:19:49Z</updated>
<entry>
<title>Stamp 9.1.24.</title>
<updated>2016-10-24T20:19:49Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-10-24T20:19:49Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=e85493559c4678f54d30b6b4e04b17c03a3192d7'/>
<id>urn:sha1:e85493559c4678f54d30b6b4e04b17c03a3192d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stamp 9.1.23.</title>
<updated>2016-08-08T20:35:15Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-08-08T20:35:15Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=cb5b88af7dc7529dcdfd8c0ff71c5372877b7f19'/>
<id>urn:sha1:cb5b88af7dc7529dcdfd8c0ff71c5372877b7f19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stamp 9.1.22.</title>
<updated>2016-05-09T20:57:25Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-05-09T20:57:25Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=ddb0843d44a53518cfbbb5c2fd535021d75d07cd'/>
<id>urn:sha1:ddb0843d44a53518cfbbb5c2fd535021d75d07cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix configure's incorrect version tests for flex and perl.</title>
<updated>2016-05-02T15:18:11Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-05-02T15:18:11Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=6e3702e627b04b5a9c7fe2167b6d1fe1a57f0920'/>
<id>urn:sha1:6e3702e627b04b5a9c7fe2167b6d1fe1a57f0920</id>
<content type='text'>
awk's equality-comparison operator is "==" not "=".  We got this right
in many places, but not in configure's checks for supported version
numbers of flex and perl.  It hadn't been noticed because unsupported
versions are so old as to be basically extinct in the wild, and because
the only consequence is whether or not a WARNING flies by during
configure.

Daniel Gustafsson noted the problem with respect to the test for flex,
I found the other by reviewing other awk calls.
</content>
</entry>
<entry>
<title>Stamp 9.1.21.</title>
<updated>2016-03-28T20:16:20Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-03-28T20:16:20Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=158a0fb254578e93cec7a940c780426217b79343'/>
<id>urn:sha1:158a0fb254578e93cec7a940c780426217b79343</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cope if platform declares mbstowcs_l(), but not locale_t, in &lt;xlocale.h&gt;.</title>
<updated>2016-03-15T17:19:58Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-03-15T17:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=0c94970c932de50bfa4c57da815756de76b941f1'/>
<id>urn:sha1:0c94970c932de50bfa4c57da815756de76b941f1</id>
<content type='text'>
Previously, we included &lt;xlocale.h&gt; only if necessary to get the definition
of type locale_t.  According to notes in PGAC_TYPE_LOCALE_T, this is
important because on some versions of glibc that file supplies an
incompatible declaration of locale_t.  (This info may be obsolete, because
on my RHEL6 box that seems to be the *only* definition of locale_t; but
there may still be glibc's in the wild for which it's a live concern.)

It turns out though that on FreeBSD and maybe other BSDen, you can get
locale_t from stdlib.h or locale.h but mbstowcs_l() and friends only from
&lt;xlocale.h&gt;.  This was leaving us compiling calls to mbstowcs_l() and
friends with no visible prototype, which causes a warning and could
possibly cause actual trouble, since it's not declared to return int.

Hence, adjust the configure checks so that we'll include &lt;xlocale.h&gt;
either if it's necessary to get type locale_t or if it's necessary to
get a declaration of mbstowcs_l().

Report and patch by Aleksander Alekseev, somewhat whacked around by me.
Back-patch to all supported branches, since we have been using
mbstowcs_l() since 9.1.
</content>
</entry>
<entry>
<title>Stamp 9.1.20.</title>
<updated>2016-02-08T21:21:40Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-02-08T21:21:40Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=3dca6f36fcd694c8c49d26e7c4971194dee2754a'/>
<id>urn:sha1:3dca6f36fcd694c8c49d26e7c4971194dee2754a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cope with Readline's failure to track SIGWINCH events outside of input.</title>
<updated>2015-12-16T21:58:56Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2015-12-16T21:58:56Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=03b138e90479895bf5467f38b40d817512822fcd'/>
<id>urn:sha1:03b138e90479895bf5467f38b40d817512822fcd</id>
<content type='text'>
It emerges that libreadline doesn't notice terminal window size change
events unless they occur while collecting input.  This is easy to stumble
over if you resize the window while using a pager to look at query output,
but it can be demonstrated without any pager involvement.  The symptom is
that queries exceeding one line are misdisplayed during subsequent input
cycles, because libreadline has the wrong idea of the screen dimensions.

The safest, simplest way to fix this is to call rl_reset_screen_size()
just before calling readline().  That causes an extra ioctl(TIOCGWINSZ)
for every command; but since it only happens when reading from a tty, the
performance impact should be negligible.  A more valid objection is that
this still leaves a tiny window during entry to readline() wherein delivery
of SIGWINCH will be missed; but the practical consequences of that are
probably negligible.  In any case, there doesn't seem to be any good way to
avoid the race, since readline exposes no functions that seem safe to call
from a generic signal handler --- rl_reset_screen_size() certainly isn't.

It turns out that we also need an explicit rl_initialize() call, else
rl_reset_screen_size() dumps core when called before the first readline()
call.

rl_reset_screen_size() is not present in old versions of libreadline,
so we need a configure test for that.  (rl_initialize() is present at
least back to readline 4.0, so we won't bother with a test for it.)
We would need a configure test anyway since libedit's emulation of
libreadline doesn't currently include such a function.  Fortunately,
libedit seems not to have any corresponding bug.

Merlin Moncure, adjusted a bit by me
</content>
</entry>
<entry>
<title>Accept flex &gt; 2.5.x in configure.</title>
<updated>2015-11-18T22:45:06Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2015-11-18T22:45:06Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=b4afc39f7af07bd0e3781582479a398cc11bfa85'/>
<id>urn:sha1:b4afc39f7af07bd0e3781582479a398cc11bfa85</id>
<content type='text'>
Per buildfarm member anchovy, 2.6.0 exists in the wild now.
Hopefully it works with Postgres; if not, we'll have to do something
about that, but in any case claiming it's "too old" is pretty silly.
</content>
</entry>
<entry>
<title>Stamp 9.1.19.</title>
<updated>2015-10-05T19:17:54Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2015-10-05T19:17:54Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=f0ceb25d04da0b672e16efd20fa30641b78ffe63'/>
<id>urn:sha1:f0ceb25d04da0b672e16efd20fa30641b78ffe63</id>
<content type='text'>
</content>
</entry>
</feed>
