Skip to content

Instantly share code, notes, and snippets.

@michail-nikolaev
Last active December 20, 2020 15:37
Show Gist options
  • Save michail-nikolaev/93848f02cdbcaa7202e2bd6ac97d3d20 to your computer and use it in GitHub Desktop.
Save michail-nikolaev/93848f02cdbcaa7202e2bd6ac97d3d20 to your computer and use it in GitHub Desktop.
postgres debug
# Configuration arguments for vcbuild.
use strict;
use warnings;
our $config = {
asserts => 1, # --enable-cassert
# blocksize => 8, # --with-blocksize, 8kB by default
# wal_blocksize => 8, # --with-wal-blocksize, 8kB by default
ldap => 1, # --with-ldap
extraver => undef, # --with-extra-version=<string>
gss => undef, # --with-gssapi=<path>
icu => undef, # --with-icu=<path>
nls => undef, # --enable-nls=<path>
tap_tests => 1, # --enable-tap-tests
tcl => undef, # --with-tcl=<path>
perl => undef, # --with-perl=<path>
python => undef, # --with-python=<path>
openssl => undef, # --with-openssl=<path>
uuid => undef, # --with-uuid=<path>
xml => undef, # --with-libxml=<path>
xslt => undef, # --with-libxslt=<path>
iconv => undef, # (not in configure, path to iconv)
zlib => undef # --with-zlib=<path>
};
1;
vcregress taptest src/test/recovery
./configure --prefix=/home/nkey/pg/install_12 --enable-cassert --enable-debug CFLAGS="-ggdb -O1 -fno-omit-frame-pointer -no-pie" --enable-tap-tests
# to run tap test:
make -C src/test/recovery check PROVE_TESTS='t/001_stream*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment