{"id":27933462,"url":"https://github.com/timescale/pg_influx","last_synced_at":"2025-07-13T19:40:35.180Z","repository":{"id":38037003,"uuid":"456665185","full_name":"timescale/pg_influx","owner":"timescale","description":"InfluxDB Line Protocol Listener for PostgreSQL","archived":false,"fork":false,"pushed_at":"2024-05-11T17:20:38.000Z","size":89,"stargazers_count":18,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T04:58:48.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/timescale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-02-07T20:25:59.000Z","updated_at":"2025-03-05T20:30:40.000Z","dependencies_parsed_at":"2023-01-31T06:00:19.677Z","dependency_job_id":"d22a226a-3889-48ce-94d1-82942b389942","html_url":"https://github.com/timescale/pg_influx","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fpg_influx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fpg_influx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fpg_influx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fpg_influx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/pg_influx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816948,"owners_count":21808704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-05-07T04:58:53.753Z","updated_at":"2025-05-07T04:58:54.268Z","avatar_url":"https://github.com/timescale.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InfluxDB Line Protocol Listener for PostgreSQL\n\nInfluxDB line protocol listener that can listen on UDP ports and\ninsert into PostgreSQL database tables. \n\nLines will be received over UDP in InfluxDB line protocol format and\nwrite them into tables in the database. This means that there is a\nrisk that lines can be lost, but it is very fast and does not block.\n\nThis is a very basic example of an extension that listens for data on\na socket and writes it to the database.\n\nIt is an ongoing experimental work for [educational purposes][1] and\nas such there are no guarantees regarding feasability for any specific\npurpose, including its intended use.\n\n[1]: https://dbmsdrops.kindahl.net/\n\n## Documentation\n\n- [Documentation](docs/index.md)\n- [Contribution Guidelines](CONTRIBUTING.md)\n\n## Building and Installing\n\nTo install the dependencies it is easiest to install the [PGDG\nversion](https://wiki.postgresql.org/wiki/Apt) of the packages. Using\nthe instructions from [PostgreSQL Apt\nRepository](https://www.postgresql.org/download/linux/ubuntu/) would\nlook like this:\n\n```bash\nsudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" \u003e /etc/apt/sources.list.d/pgdg.list'\nwget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -\nsudo apt-get update\nsudo apt-get -y install postgresql postgresql-server-dev-13\n```\n\n### Building from source\n\nAfter the dependencies are installed, you can download the repository\nfrom GitHub.\n\n```bash\ngit clone git@github.com:mkindahl/pg_influx.git\ncd pg_influx\n```\n\nTo build and install the extension:\n\n```bash\nmake\nsudo make install\n```\n\n### Building Debian Packages\n\nThe `debian` directory contains the necessary files to build a debian\npackage. To build the Debian packages you can use `debmake` together\nwith `debuild`:\n\n```bash\ndebmake -t -i debuild\n```\n\nYou will find the resulting packages in the parent directory of the\nsource directory.\n\nIf you want to build unsigned packages, you can do that using\n\n```bash\ndebmake -t -i \"debuild -i -uc -us\"\n```\n\n### Adding PostgreSQL versions\n\nIf a new version of PostgreSQL is supported, it is necessary to\nrebuild the `debian/control` file from the `debian/control.in` file.\n\n```bash\npg_buildext updatecontrol\n```\n\n## Running Regression Tests\n\nTo run the regression tests\n\n```\nmake installcheck\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fpg_influx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Fpg_influx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fpg_influx/lists"}