Skip to content
Let PostgreSQL to make execution plans using frozen statistics.
Branch: master
Clone or download
Latest commit e79f24e Sep 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SPECS Change version to 3.9.11 Sep 26, 2018
doc Change version to 3.9.11 Sep 26, 2018
expected
ext_scripts Change version to 3.9.11 Sep 26, 2018
input Make pg_dbms_stats workable for PG11 Nov 13, 2017
output
sql
.gitignore
COPYRIGHT
ChangeLog Add description that it is obsolete in ChangeLog files Apr 5, 2018
ChangeLog.ja
Makefile Change version to 3.9.11 Sep 26, 2018
README.installcheck
dump.c
import.c
pg_dbms_stats.c
pg_dbms_stats.control Change version to 3.9.11 Sep 26, 2018
pg_dbms_stats.h
regress.conf

README.installcheck

Preparation for make installcheck

1. Install pg_dbms_stats into the target binary tree. Make sure to
   prepare the PATH environment variable properly to execute the right
   pg_config for the version of target PostgreSQL server.

  postgres$ which pg_config
  <somewhere bin of the target server resides>/pg_config
  postgres$ make install

2. Install additionally required contrib module file_fdw. This could
  be done for RPM installed server by installing postgresql##-contrib
  using yum after installing additional repository.

  # yum install postgresql96-contrib

3. Edit postgresql.conf so that pg_dbms stats will be automatically
   loaded.

  postgres$ echo "shared_preload_libraries = 'pg_dbms_stats'" >>  <PGDATA>/postgresql.conf

4. Start the target server

  postgres$ postgres or pg_ctl start

5. Install extension on the server.

  postgres$ psql postgres -c 'CREATE EXTENSION pg_dbms_stats; CREATE EXTENSION file_fdw;'

6. run make installcheck

  postgres$ make installcheck
You can’t perform that action at this time.