mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 17:49:35 -04:00
This refactoring is in preparation for adding support for other SSL implementations, with no user-visible effects. There are now two #defines, USE_OPENSSL which is defined when building with OpenSSL, and USE_SSL which is defined when building with any SSL implementation. Currently, OpenSSL is the only implementation so the two #defines go together, but USE_SSL is supposed to be used for implementation-independent code. The libpq SSL code is changed to use a custom BIO, which does all the raw I/O, like we've been doing in the backend for a long time. That makes it possible to use MSG_NOSIGNAL to block SIGPIPE when using SSL, which avoids a couple of syscall for each send(). Probably doesn't make much performance difference in practice - the SSL encryption is expensive enough to mask the effect - but it was a natural result of this refactoring. Based on a patch by Martijn van Oosterhout from 2006. Briefly reviewed by Alvaro Herrera, Andreas Karlsson, Jeff Janes.
27 lines
1.1 KiB
Perl
27 lines
1.1 KiB
Perl
# Configuration arguments for vcbuild.
|
|
use strict;
|
|
use warnings;
|
|
|
|
our $config = {
|
|
asserts => 0, # --enable-cassert
|
|
# integer_datetimes=>1, # --enable-integer-datetimes - on is now default
|
|
# float4byval=>1, # --disable-float4-byval, on by default
|
|
# float8byval=>0, # --disable-float8-byval, off by default
|
|
# blocksize => 8, # --with-blocksize, 8kB by default
|
|
# wal_blocksize => 8, # --with-wal-blocksize, 8kB by default
|
|
# wal_segsize => 16, # --with-wal-segsize, 16MB by default
|
|
ldap => 1, # --with-ldap
|
|
extraver => undef, # --with-extra-version=<string>
|
|
nls => undef, # --enable-nls=<path>
|
|
tcl => undef, # --with-tls=<path>
|
|
perl => undef, # --with-perl
|
|
python => undef, # --with-python=<path>
|
|
openssl => undef, # --with-openssl=<path>
|
|
uuid => undef, # --with-ossp-uuid
|
|
xml => undef, # --with-libxml=<path>
|
|
xslt => undef, # --with-libxslt=<path>
|
|
iconv => undef, # (not in configure, path to iconv)
|
|
zlib => undef # --with-zlib=<path>
|
|
};
|
|
|
|
1;
|