{"id":50813571,"url":"https://github.com/andreiramani/timescaledb_pgsql_windows","last_synced_at":"2026-07-12T01:30:48.091Z","repository":{"id":361459536,"uuid":"1254482815","full_name":"andreiramani/timescaledb_pgsql_windows","owner":"andreiramani","description":"TimescaleDB - Time-series database for real-time analytics as a Postgres extension (Repackage for Microsoft Windows)","archived":false,"fork":false,"pushed_at":"2026-05-31T03:54:32.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-13T07:08:17.153Z","etag":null,"topics":["database","devops","financial-analytics","iot","microsoft","microsoft-windows","microsoft-windows-11","pgsql","plsql","postgresql","real-time-analytics","tigerdata","time-series","time-series-analysis","timescaledb","timeseries-database","tsdb"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreiramani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-30T16:11:56.000Z","updated_at":"2026-05-31T03:59:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andreiramani/timescaledb_pgsql_windows","commit_stats":null,"previous_names":["andreiramani/timescaledb-windows"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/andreiramani/timescaledb_pgsql_windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiramani%2Ftimescaledb_pgsql_windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiramani%2Ftimescaledb_pgsql_windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiramani%2Ftimescaledb_pgsql_windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiramani%2Ftimescaledb_pgsql_windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreiramani","download_url":"https://codeload.github.com/andreiramani/timescaledb_pgsql_windows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiramani%2Ftimescaledb_pgsql_windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35379590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","devops","financial-analytics","iot","microsoft","microsoft-windows","microsoft-windows-11","pgsql","plsql","postgresql","real-time-analytics","tigerdata","time-series","time-series-analysis","timescaledb","timeseries-database","tsdb"],"created_at":"2026-06-13T07:05:03.767Z","updated_at":"2026-07-12T01:30:48.079Z","avatar_url":"https://github.com/andreiramani.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [**TimescaleDB**](https://github.com/timescale/timescaledb) RE-package\n## **TimescaleDB - Time-series database for high-performance real-time analytics packaged as a Postgres extension**\n---\n## Notes and Installation Guide\n\nI needed **TimescaleDB** for one of my projects while running **Windows 11 (25H2)** with **PostgreSQL v16.1**. Although [Tiger Data](https://www.tigerdata.com/docs/get-started/choose-your-path/install-timescaledb) provides various installation instructions (including Windows), unfortunately the installer could not locate my `pg_config`.\n\n### What I tried\n- I attempted to **compile TimescaleDB from the latest source**, but the latest source no longer supports my PostgreSQL version. The build failed with the following error:\n\n```\n\u003cyour-pgsql-folder\u003e\\timescaledb\\src\\compat\\compat.h(63,1): error C1189: #error:  \"Unsupported PostgreSQL version\" [\u003cyour-pgsql-folder\u003e\\timescaledb\\build\\tsl\\src\\timescaledb-tsl.vcxproj]\n```\n\nFrom this error it is clear that the correct TimescaleDB version for a given PostgreSQL release can be determined by inspecting `src/compat/compat.h` in the TimescaleDB [source](https://github.com/timescale/timescaledb) branches.\n\n### How I resolved it\n1. I reviewed the TimescaleDB release packages on GitHub and tested several older releases until I found a package compatible with PostgreSQL v16.1.\n2. Once I found a matching release package, I installed the extension using the steps below.\n\n### Installing the TimescaleDB extension on Windows (binary package)\n1. Stop the PostgreSQL service via `services.msc`.\n2. Download the appropriate TimescaleDB package from the [Releases](https://github.com/andreiramani/timescaledb-windows/releases) page (choose the package that matches your PostgreSQL version).\n3. Extract the ZIP file into your PostgreSQL installation directory (overwrite or merge files as required).\u003cbr\u003e\n   a. `*.dll` files goes to `\u003cyour-pgsql-folder\u003e\\lib` folder\u003cbr\u003e\n   b. `*.control` and `*.sql` files goes to `\u003cyour-pgsql-folder\u003e\\share\\extension` folder.\u003cbr\u003e\n   c. `timescaledb-tune.exe` goes to `\u003cyour-pgsql-folder\u003e\\bin` folder.\u003cbr\u003e\n4. From `\u003cyour-pgsql-folder\u003e\\bin` run `timescaledb-tune.exe -conf-path \u003cyour-pgsql-folder\u003e\\data -pg-version \u003cmajor-pgsql-version\u003e` to optimize `postgresql.conf` settings.\n   (`postgresql.conf` location is in `\u003cyour-pgsql-folder\u003e\\data`)\n5. Start the PostgreSQL service.\n6. Connect to PostgreSQL, from destination DB run:\n   ```\n   CREATE EXTENSION IF NOT EXISTS timescaledb;\n   ```\n7. If the command returns `OK`, the TimescaleDB extension is installed successfully.\n   ![](img/01_create.jpg)\n   \u003cbr\u003e\u003c/br\u003e\n8. Verify version: `SELECT extname, extversion FROM pg_extension WHERE extname = 'timescaledb';` \n\n### Troubleshooting\n- Choose the correct package: Always download the TimescaleDB package that exactly matches your PostgreSQL version and architecture.\n- Common error after CREATE EXTENSION:\n  ```\n  ERROR:  could not load library \"\u003cyour-pgsql-folder\u003e/lib/timescaledb-x.xx.x.dll\": The specified procedure could not be found.\n  ```\n  This error indicates the TimescaleDB binary is incompatible with the running PostgreSQL version. The fix is to downgrade or switch to a TimescaleDB release that matches your PostgreSQL version.\n\n### Technical note\n- If you attempt to build from the latest source and encounter the Unsupported PostgreSQL version error, inspect `src/compat/compat.h` in the TimescaleDB source to see which PostgreSQL versions are supported by that TimescaleDB commit/release.\n\n### Limitation\n- Currently, I have not tested all available TimescaleDB packages. Only the version that I use for my project will be included in the releases.\n\n### Request / Call for help\nIf you have a TimescaleDB binary package that is compatible with other PostgreSQL versions on Windows, please let me know/drop info on [`Discussion`](https://github.com/andreiramani/timescaledb-windows/discussions). I am especially interested in packages for PostgreSQL versions commonly used on Windows machines.\n\n### Summary\nThe official Windows instructions may fail for some local setups. When building from source, check `src/compat/compat.h` for supported PostgreSQL versions. For most users on Windows, the quickest path is to find a prebuilt TimescaleDB release that matches your PostgreSQL version.\n\n***\n[![](https://api.star-history.com/chart?repos=andreiramani/timescaledb_pgsql_windows\u0026type=timeline\u0026legend=top-left)](https://www.star-history.com/?repos=andreiramani%2Ftimescaledb_pgsql_windows\u0026type=timeline\u0026legend=top-left)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiramani%2Ftimescaledb_pgsql_windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreiramani%2Ftimescaledb_pgsql_windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiramani%2Ftimescaledb_pgsql_windows/lists"}