{"id":16192812,"url":"https://github.com/cube2222/octosql-plugin-postgres","last_synced_at":"2025-10-14T18:17:01.807Z","repository":{"id":65187763,"uuid":"441249695","full_name":"cube2222/octosql-plugin-postgres","owner":"cube2222","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-25T21:06:33.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T07:47:14.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cube2222.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}},"created_at":"2021-12-23T17:20:51.000Z","updated_at":"2023-05-31T15:30:28.000Z","dependencies_parsed_at":"2024-06-20T08:16:30.598Z","dependency_job_id":"802e1527-e283-4bfe-9ab5-95b85d3e44ec","html_url":"https://github.com/cube2222/octosql-plugin-postgres","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cube2222/octosql-plugin-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cube2222%2Foctosql-plugin-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cube2222%2Foctosql-plugin-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cube2222%2Foctosql-plugin-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cube2222%2Foctosql-plugin-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cube2222","download_url":"https://codeload.github.com/cube2222/octosql-plugin-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cube2222%2Foctosql-plugin-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020350,"owners_count":26086864,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-10-10T08:12:37.147Z","updated_at":"2025-10-14T18:17:01.779Z","avatar_url":"https://github.com/cube2222.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OctoSQL PostgreSQL Plugin\n\nThis plugin adds PostgreSQL support to OctoSQL.\n\n## Installation\n\n```\noctosql plugin install postgres\n```\n\n## Configuration\n\nThe available configuration variables are:\n- host\n- port\n- user\n- password\n- database\n- schema\n\nAn example octosql.yml file would be:\n```yaml\ndatabases:\n  - name: mydb\n    type: postgres\n    config:\n      host: localhost\n      port: 3306\n      database: mydatabase\n      schema: public\n      user: myuser\n      password: mypassword\n```\n\nYou can also set the OCTOSQL_POSTGRES_QUERY_LOGGING environment variable to 1 to enable detailed query logging. They will then be visible in your `~/.octosql/logs.txt` file.\n\n## Usage\n\nAfter configuring a database as described above you can use tables from the configured database in your OctoSQL queries:\n```\noctosql \"SELECT * FROM mydb.mytable\" --describe\noctosql \"SELECT COUNT(*) FROM mydb.mytable\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcube2222%2Foctosql-plugin-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcube2222%2Foctosql-plugin-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcube2222%2Foctosql-plugin-postgres/lists"}