summarylogtreecommitdiffstats
path: root/timescaledb.install
blob: 8d960ff5e8bf56f5f66489f64fae504ff064c7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
    echo "================================================================================"
    echo "To use TimescaleDB as PostgreSQL extension,"
	echo "put in /var/lib/postgres/data/postgresql.conf:"
	echo "'shared_preload_libraries = "timescaledb"'"
    echo "If multiple libraries are required, separate them with comma."
    echo "Then restart postgresql:"
    echo "$ systemctl restart postgresql"
    echo "================================================================================"
}

post_remove() {
    echo "================================================================================"
    echo "Remove 'timescaledb' from 'shared_preload_libraries'"
    echo "In /var/lib/postgres/data/postgresql.conf"
    echo "Then restart postgresql:"
    echo "$ systemctl restart postgresql"
    echo "================================================================================"
}