8 - PGBRANCH=REL_15_STABLE
9 - PGBRANCH=REL_14_STABLE
10 - PGBRANCH=REL_13_STABLE
11 - PGBRANCH=REL_12_STABLE
12 - PGBRANCH=REL_11_STABLE
13 - PGBRANCH=REL_10_STABLE
14 - PGBRANCH=REL9_6_STABLE
15 - PGBRANCH=REL9_5_STABLE
16 - PGBRANCH=REL9_4_STABLE
17 - PGBRANCH=REL9_3_STABLE
18 - PGBRANCH=REL9_2_STABLE
19 - PGBRANCH=REL9_1_STABLE
22 - sudo service postgresql stop
24 - PGHOME=${CURDIR}/${PGBRANCH}
25 - PGDATA=${PGHOME}/data
26 - PGSRC=${CURDIR}/postgres
27 - TRGMSRC=${PGSRC}/contrib/pg_trgm
28 - git clone https://github.com/postgres/postgres.git
30 - git checkout ${PGBRANCH}
31 - ./configure --prefix=${PGHOME} --enable-debug --enable-cassert
36 - export PATH=${PATH}:${PGHOME}/bin
37 - initdb -D ${PGDATA} --locale=C --encoding=UTF8
38 - pg_ctl -D ${PGDATA} -w start
42 - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config
43 - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config install
46 - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config installcheck
47 - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config installcheck-trgm
50 - if [ -f regression.diffs ]; then cat regression.diffs; fi
51 - pg_ctl -D ${PGDATA} stop