1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-12 15:23:02 +03:00
Commit Graph

450 Commits

Author SHA1 Message Date
Marc G. Fournier
b0ea4828e4 tag for 8.0.18 2008-09-19 03:23:34 +00:00
Tom Lane
fdc891bec8 tag 8.0.17 2008-06-09 00:18:48 +00:00
Tom Lane
9525ec1a0f tag 8.0.16 2008-06-06 04:32:15 +00:00
Tom Lane
781b5f4ceb Use -fwrapv in CFLAGS if we are using a version of gcc that accepts this flag.
This prevents compiler optimizations that assume overflow won't occur, which
breaks numerous overflow tests that we need to have working.  It is known
that gcc 4.3 causes problems and possible that 4.1 does.  Per my proposal
of some time ago and a recent report from Kris Jurka.

Backpatch as far as 8.0, which is as far as the patch conveniently goes.
7.x was pretty short of overflow tests anyway, so it may not matter there,
even assuming that anyone cares whether 7.x builds on recent gcc.
2008-03-10 21:50:50 +00:00
Tom Lane
36cc9b7cea Use our own getopt() and getopt_long() on Solaris, because that platform's
versions don't handle long options the way we want.  Per Zdenek Kotala.
2008-02-24 05:22:33 +00:00
Tom Lane
231967907d Stamp release 8.0.15.
Security: CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
2008-01-03 21:41:51 +00:00
Marc G. Fournier
b2f6211d19 tag configure for 8.0.14 2007-09-14 21:34:29 +00:00
PostgreSQL Daemon
13e22236c9 Update configure for release
Security: hold for release
2007-04-20 03:44:17 +00:00
Bruce Momjian
8cbd1c3ba8 Stamp releases 8.2.3, 8.1.8, 8.0.12. No release notes yet. 2007-02-07 03:48:21 +00:00
Tom Lane
d724689b73 Stamp release 8.0.11.
Security: CVE-2007-0555, CVE-2007-0556
2007-02-02 00:15:09 +00:00
PostgreSQL Daemon
a7542c3bb1 tag it 2007-01-06 06:18:46 +00:00
Tom Lane
9a0d9968b2 Stamp 8.0.9. 2006-10-12 19:41:43 +00:00
Tom Lane
01c74da47e Back-port HEAD's configure fixes to select appropriate compiler switches
for Intel's icc and AIX's xlc.
2006-08-07 20:08:57 +00:00
Tom Lane
f39fc4769e Stamp release 8.0.8. 2006-05-21 21:53:31 +00:00
Tom Lane
a5746b8b09 Stamp 8.0.7. 2006-02-12 22:38:05 +00:00
Tom Lane
01e2a15ada Use a more bulletproof test for whether finite() and isinf() are present.
It seems that recent gcc versions can optimize away calls to these functions
even when the functions do not exist on the platform, resulting in a bogus
positive result.  Avoid this by using a non-constant argument and ensuring
that the function result is not simply discarded.  Per report from
François Laupretre.
2006-01-12 19:24:02 +00:00
Tom Lane
240112222c Generate back-branch configure scripts with the appropriate version of autoconf. 2006-01-06 02:30:52 +00:00
Bruce Momjian
2a35aedd97 Stamp relesae 8.0.6. 2006-01-05 04:00:29 +00:00
Tom Lane
499dad06f2 Stamp 8.0.5. 2005-12-09 20:49:38 +00:00
Tom Lane
73a71f50cd Stamp release 8.0.4. 2005-10-03 17:07:18 +00:00
Tom Lane
f468542b10 Remove unnecessary configure test for inet_ntop(), per Andrew Dunstan. 2005-08-17 20:20:22 +00:00
Tom Lane
17eb867e98 Stamp release 8.0.3. 2005-05-05 20:07:36 +00:00
Tom Lane
7dbded2c9c Stamp 8.0.2. 2005-04-07 19:43:06 +00:00
PostgreSQL Daemon
507fc3c554 Tag for 8.0.2beta1 2005-03-26 03:46:33 +00:00
Tom Lane
8416036f5f Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth
should work on Windows now.  Also, rename set_noblock to pg_set_noblock;
since it is included in libpq, the former name polluted application
namespace.
2005-03-25 00:35:20 +00:00
Tom Lane
8097ce9f52 Stamp 8.0 branch as 8.0.1. 2005-01-30 19:17:49 +00:00
PostgreSQL Daemon
c22b7eccd3 its that time ... tag it for release 2005-01-17 20:47:10 +00:00
PostgreSQL Daemon
6ff408707e up release to rc5 2005-01-11 05:29:21 +00:00
PostgreSQL Daemon
75a59ad6d1 upgrade tags to rc4 2005-01-07 02:44:31 +00:00
Tom Lane
a17e589046 Adjust a few more copyright notices to match the format expected by
the src/tools/copyright script.
2005-01-01 22:14:33 +00:00
PostgreSQL Daemon
5e05d2bcdb forgot to autoconf after tag'ng configure.in with rc3 2004-12-31 22:22:24 +00:00
PostgreSQL Daemon
2ddcd4cad5 tag files for rc2 2004-12-21 02:53:33 +00:00
Tom Lane
da59a70c09 Remove direct inclusions of <com_err.h> as well as configure test for
its presence.  This amounts to desupporting Kerberos 5 releases 1.0.*,
which is small loss, and simplifies use of our Kerberos code on platforms
with Red-Hat-style include file layouts.  Per gripe from John Gray and
followup discussion.
2004-12-20 17:13:41 +00:00
Tom Lane
8ec9608326 Cause configure --with-tcl to check for presence of <tcl.h>, as per
gripe from John Gray.  Also fix thinko in pltcl Makefile: if a special
Tcl include directory is specified, that ought to be searched first.
2004-12-16 20:41:01 +00:00
Bruce Momjian
b5498167d7 Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS to
binary compiles, and adjust configure tests for AIX.
2004-12-16 17:48:29 +00:00
Bruce Momjian
af80de1f01 Update aix cc_r wording. 2004-12-14 14:53:53 +00:00
Bruce Momjian
0f4b3f2215 Mention aix cc_r is not supported, and why 2004-12-14 12:58:29 +00:00
PostgreSQL Daemon
f51964fa76 tag configure for rc1 .. 2004-12-03 22:24:53 +00:00
Tom Lane
c5bf116367 Allow libedit to keep its headers in /usr/include/readline/ ... not a
very good practice IMHO, but apparently some people think so.
2004-12-02 21:41:12 +00:00
Tom Lane
c833c6c558 Hack to work around broken linker on older NetBSD/OpenBSD/Irix assumed
that readline must depend on libcurses, but it seems more recent ones
use libtermcap instead.  Allow that case.
2004-12-02 20:04:20 +00:00
Bruce Momjian
8408f65252 Rework libpq threaded SIGPIPE handling to avoid interference with
calling applications.  This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
2004-12-02 15:32:54 +00:00
Tom Lane
aef2d0d86c Fix readline/libedit selection code to prefer readline over libedit
reliably (ie, regardless of which libraries they depend on).  Also
make sure that we don't select headers that obviously belong to the
wrong one of the two libraries.  This was discussed back around 4-Sep
but seems to have slipped through the cracks.  The header selection
could be checked more closely, perhaps, but let's see if this is good
enough.
2004-11-30 06:13:04 +00:00
PostgreSQL Daemon
5776feab0a update us to beta5 2004-11-22 03:06:35 +00:00
Tom Lane
336969e490 Add code to find_my_exec() to resolve a symbolic link down to the
actual executable location.  This allows people to continue to use
setups where, eg, postmaster is symlinked from a convenient place.
Per gripe from Josh Berkus.
2004-11-06 23:06:29 +00:00
Bruce Momjian
fa82cddfd2 Move pthread.h test up to use PTHREAD_CFLAGS.
Kris Jurka
2004-11-02 05:44:45 +00:00
PostgreSQL Daemon
346aff04be make sure we tag configure.in as beta4 as well ... 2004-10-25 00:11:04 +00:00
Tom Lane
9b3fc492d3 If we're going to test for switch validity by observing whether the
compiler emits any warnings, the test program had better be 100%
correct, not only 90% correct.  The recent addition of -Wold-style-definition
broke thread-safety detection on every platform that has that switch,
because the test program used an old-style definition.
2004-10-24 00:54:12 +00:00
Neil Conway
857e210ea9 When using GCC, change the default CFLAGS to:
-O2 -Wall -Wmissing-prototypes -Wpointer-arith

Check whether the version of GCC we are using supports any of:

  -Wdeclaration-after-statement
  -Wendif-labels
  -Wold-style-definition

And add the supported flags to CFLAGS.
2004-10-20 02:12:07 +00:00
Bruce Momjian
4d94e99b90 > This lets you do something like:
>
>    ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc
>
> to produce binaries that do not depend on libgcc_s.so at all.

Oliver Jowett
2004-10-15 05:11:00 +00:00
Tom Lane
669ca7af83 Another try at making plpython autoconfiguration work correctly. Use a
-L spec rather than assuming libpython is in the standard search path
(this returns to the way 7.4 did it).  But check the distutils output
to see if it looks like Python has built a shared library, and if so
link with that instead of the probably-not-shared library found in
configdir.
2004-10-11 19:32:19 +00:00