mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Post-PG 10 beta1 pgperltidy run
This commit is contained in:
@ -156,7 +156,7 @@ sub GenerateFiles
|
||||
{
|
||||
s{PG_VERSION "[^"]+"}{PG_VERSION "$self->{strver}$extraver"};
|
||||
s{PG_VERSION_NUM \d+}{PG_VERSION_NUM $self->{numver}};
|
||||
s{PG_VERSION_STR "[^"]+"}{PG_VERSION_STR "PostgreSQL $self->{strver}$extraver, compiled by Visual C++ build " CppAsString2(_MSC_VER) ", $bits-bit"};
|
||||
s{PG_VERSION_STR "[^"]+"}{PG_VERSION_STR "PostgreSQL $self->{strver}$extraver, compiled by Visual C++ build " CppAsString2(_MSC_VER) ", $bits-bit"};
|
||||
print $o $_;
|
||||
}
|
||||
print $o "#define PG_MAJORVERSION \"$self->{majorver}\"\n";
|
||||
@ -171,7 +171,8 @@ sub GenerateFiles
|
||||
print $o "#define USE_OPENSSL 1\n" if ($self->{options}->{openssl});
|
||||
print $o "#define ENABLE_NLS 1\n" if ($self->{options}->{nls});
|
||||
|
||||
print $o "#define BLCKSZ ", 1024 * $self->{options}->{blocksize}, "\n";
|
||||
print $o "#define BLCKSZ ", 1024 * $self->{options}->{blocksize},
|
||||
"\n";
|
||||
print $o "#define RELSEG_SIZE ",
|
||||
(1024 / $self->{options}->{blocksize}) *
|
||||
$self->{options}->{segsize} *
|
||||
@ -281,7 +282,8 @@ sub GenerateFiles
|
||||
'src/include/utils/fmgrprotos.h',
|
||||
'src/backend/utils/fmgrprotos.h'))
|
||||
{
|
||||
copyFile('src/backend/utils/fmgrprotos.h',
|
||||
copyFile(
|
||||
'src/backend/utils/fmgrprotos.h',
|
||||
'src/include/utils/fmgrprotos.h');
|
||||
}
|
||||
|
||||
@ -654,7 +656,7 @@ sub GetFakeConfigure
|
||||
my $self = shift;
|
||||
|
||||
my $cfg = '--enable-thread-safety';
|
||||
$cfg .= ' --enable-cassert' if ($self->{options}->{asserts});
|
||||
$cfg .= ' --enable-cassert' if ($self->{options}->{asserts});
|
||||
$cfg .= ' --enable-nls' if ($self->{options}->{nls});
|
||||
$cfg .= ' --enable-tap-tests' if ($self->{options}->{tap_tests});
|
||||
$cfg .= ' --with-ldap' if ($self->{options}->{ldap});
|
||||
|
Reference in New Issue
Block a user