{"id":24297791,"url":"https://github.com/ibarwick/config_log","last_synced_at":"2026-02-24T12:04:23.525Z","repository":{"id":8697074,"uuid":"10361236","full_name":"ibarwick/config_log","owner":"ibarwick","description":"PostgreSQL custom background worker (BGW) for monitoring configuration log changes","archived":false,"fork":false,"pushed_at":"2019-05-28T02:46:11.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T23:43:25.953Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibarwick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-29T14:17:03.000Z","updated_at":"2023-03-01T11:04:36.000Z","dependencies_parsed_at":"2022-09-23T21:21:31.515Z","dependency_job_id":null,"html_url":"https://github.com/ibarwick/config_log","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ibarwick/config_log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibarwick%2Fconfig_log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibarwick%2Fconfig_log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibarwick%2Fconfig_log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibarwick%2Fconfig_log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibarwick","download_url":"https://codeload.github.com/ibarwick/config_log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibarwick%2Fconfig_log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29781249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-01-16T20:29:27.581Z","updated_at":"2026-02-24T12:04:23.500Z","avatar_url":"https://github.com/ibarwick.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"config_log 0.1.7\n================\n\n`config_log` is an experimental extension which implements a custom\nbackground worker to monitor postgresql.conf and record any changes to\na database table.\n\n`config_log` requires PostgreSQL 9.3 or later and will not work in earlier\nversions.\n\nTo build `config_log`, just do this:\n\n    make\n    make install\n\nIf you encounter an error such as:\n\n    \"Makefile\", line 8: Need an operator\n\nYou need to use GNU make, which may well be installed on your system as\n`gmake`:\n\n    gmake\n    gmake install\n    gmake installcheck\n\nIf you encounter an error such as:\n\n    make: pg_config: Command not found\n\nBe sure that you have `pg_config` installed and in your path. If you used a\npackage management system such as RPM to install PostgreSQL, be sure that the\n`-devel` package is also installed. If necessary tell the build process where\nto find it:\n\n    env PG_CONFIG=/path/to/pg_config make \u0026\u0026 make install\n\nOnce `config_log` is compiled and installed, it needs to be added to a database\nin the PostgreSQL database cluster whose `postgresql.conf` you wish to monitor.\nIt can only be installed in one database within the cluster.\n\nBy default, `config_log` expects to be installed into the default `postgres`\ndatabase's `public` schema. The default values can be overridden by changing\nthe following GUC settings:\n\n    config_log.database = 'some_other_db'\n    config_log.schema   = 'different_schema'\n\nNote that the schema *must* appear in the superuser's search path.\n\nConnect to the target database as a superuser and execute:\n\n    CREATE EXTENSION config_log\n\nThis will install the database objects required for this extension.\n\nFollowing this step, the module must be added to `postgresql.conf`'s\n`shared_preload_libraries` parameter and the server restarted.\n\nLog output\n----------\n\n`config_log` will produce some log output, prefixed by `config_log: `.\n\nFollowing a successful startup, it will output the following:\n\n    LOG:  config_log: initialized, database objects validated\n    LOG:  config_log: pg_settings_logger() executed\n    LOG:  config_log: no configuration changes detected\n\nFollowing a SIGHUP, it will output something like the following:\n\n    LOG:  received SIGHUP, reloading configuration files\n    LOG:  parameter \"temp_buffers\" changed to \"64MB\"\n    LOG:  config_log: received sighup\n    LOG:  config_log: pg_settings_logger() executed\n    LOG:  config_log: configuration changes recorded\n\n\nUsage\n-----\n\nFor more information please see these blog posts:\n\n- [sql-info.de: Custom Background Worker: a practical example](http://sql-info.de/postgresql/notes/custom-background-worker-bgw-practical-example.html)\n- [sql-info.de: Logging changes to postgresql.conf](http://sql-info.de/postgresql/notes/logging-changes-to-postgresql-conf.html)\n\nLinks\n-----\n\n- config_log repository at [Github](https://github.com/ibarwick/config_log)\n- config_log project page at [PGXN](https://www.pgxn.org/dist/config_log/)\n- [PostgreSQL documentation](https://www.postgresql.org/docs/current/index.html): [Background Worker Processes](https://www.postgresql.org/docs/current/bgworker.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibarwick%2Fconfig_log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibarwick%2Fconfig_log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibarwick%2Fconfig_log/lists"}