Closed pedvi closed 3 months ago
@pedvi TimescaleDB is tested on Windows so it should work. Double check your configuration.
Note that TimescaleDB requires preloading so the option timescaledb.allow_install_without_preload
is legacy and should not be used.
Hi @pedvi,
Thanks for reaching out. You mentioned that you added the TimescaleDB loader to the list of preloaded libraries. However, the error message indicates that the loader is not present. The problem often occurs when multiple PostgreSQL configuration files are present. Please check that PostgreSQL uses the correct configuration file by executing SHOW config_file;
.
In addition, could you check that your PostgreSQL server was restarted after you added the loader to the configuration file and that the output of SHOW shared_preload_libraries;
includes the timescale loader?
test2=# SHOW shared_preload_libraries;
shared_preload_libraries
--------------------------
timescaledb
(1 row)
Thanks @erimatnor and @jnidzwetzki
Problem solved, was exactly that!
There was the conf and auto.conf files, and while the install file (setup.exe) has installed and tunned ( timescaledb-tune) the timescaledb properly in the conf file, there was a previous extension installation (postgis-3) added on the auto.conf file that i overlooked and was forcing the "shared_preload_liubraries" to only preload the auto.conf one.
Hi @pedvi,
Thanks for getting back. I'm glad we were able to help. Since the issue is resolved, I am closing this issue.
What type of bug is this?
Configuration
What subsystems and features are affected?
Other
What happened?
After following the instructions Install self-hosted TimescaleDB on Windows systems
Setup file run "as administrator", timescaledb-tune run from inside the setup file
postgresql.conf file change accordingly with shared_preload_libraries = 'timescaledb' added in place.
When "Set up the TimescaleDB extension" , and executing CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE I get error "Connection to the server has been lost.".
executing: SET timescaledb.allow_install_without_preload = 'on'; CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE; output: ERROR: loader version out-of-date HINT: Please restart the database to upgrade the loader version.
Found other reports with the same issue, but with different (older) combinations of PostgreSql and TimescaleDB
Relevant system information:
Windows 10 Pro PostgreSql 16.2 TimescaleDb 2.14.2
PostgreSql installed via enterprisedb package.
localhost database on a offline system (no internet connection)
TimescaleDB version affected
2.14.2
PostgreSQL version used
16.2
What operating system did you use?
Win10 Pro Build 1909
What installation method did you use?
Other
What platform did you run on?
On prem/Self-hosted
Relevant log output and stack trace
How can we reproduce the bug?