blob: 55257e9dc16d322ef8a9553176e7c9b1acb70942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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 "================================================================================"
}
|