Last active
December 20, 2020 15:37
-
-
Save michail-nikolaev/93848f02cdbcaa7202e2bd6ac97d3d20 to your computer and use it in GitHub Desktop.
postgres debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./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*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bear make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment