{"id":29141195,"url":"https://github.com/ponylang/postgres","last_synced_at":"2026-02-14T13:32:56.197Z","repository":{"id":60658315,"uuid":"543754442","full_name":"ponylang/postgres","owner":"ponylang","description":"Pure Pony Postgres driver","archived":false,"fork":false,"pushed_at":"2025-06-06T12:54:56.000Z","size":167,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-20T21:49:23.464Z","etag":null,"topics":["pony-core-team-library","ponylang","ponylang-langauge","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Pony","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ponylang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"open_collective":"ponyc"}},"created_at":"2022-09-30T19:15:11.000Z","updated_at":"2025-06-06T12:54:58.000Z","dependencies_parsed_at":"2023-12-19T01:52:05.358Z","dependency_job_id":"c5f6925d-06d7-4f7f-8480-2f2005102f25","html_url":"https://github.com/ponylang/postgres","commit_stats":{"total_commits":84,"total_committers":2,"mean_commits":42.0,"dds":0.0714285714285714,"last_synced_commit":"de3a1ce1dbdf3842e02e4e7665ebdea298bea37b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ponylang/postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponylang%2Fpostgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponylang%2Fpostgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponylang%2Fpostgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponylang%2Fpostgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponylang","download_url":"https://codeload.github.com/ponylang/postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponylang%2Fpostgres/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262825646,"owners_count":23370419,"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":["pony-core-team-library","ponylang","ponylang-langauge","postgresql"],"created_at":"2025-06-30T18:05:40.889Z","updated_at":"2026-02-14T13:32:56.192Z","avatar_url":"https://github.com/ponylang.png","language":"Pony","funding_links":["https://opencollective.com/ponyc"],"categories":[],"sub_categories":[],"readme":"# Postgres\n\nPure Pony Postgres driver\n\n## Status\n\nPostgres is an alpha-level package.\n\nWe welcome users who are willing to experience errors and possible application shutdowns. Your feedback on API usage and in reporting bugs is greatly appreciated.\n\nPlease note that if this library encounters a state that the programmers thought was impossible to hit, it will exit the program immediately with informational messages. Normal errors are handled in standard Pony fashion.\n\n## Installation\n\n* Install [corral](https://github.com/ponylang/corral)\n* `corral add github.com/ponylang/postgres.git --version 0.2.2`\n* `corral fetch` to fetch your dependencies\n* `use \"postgres\"` to include this package\n* `corral run -- ponyc` to compile your application\n\nThis library has a transitive dependency on [ponylang/ssl](https://github.com/ponylang/ssl). It requires a C SSL library to be installed. Please see the [ssl installation instructions](https://github.com/ponylang/ssl?tab=readme-ov-file#installation) for more information.\n\n## API Documentation\n\n[https://ponylang.github.io/postgres](https://ponylang.github.io/postgres)\n\n## Examples\n\nThe [examples](examples/) directory contains self-contained programs demonstrating different parts of the library. See [examples/README.md](examples/README.md) for descriptions.\n\n## Postgres API Support\n\nThis library aims to support the Postgres API to the level required to use Postgres from Pony in ways that the Pony community needs. We do not aim to support the entire API surface. If there is functionality missing, we will happily accept high-quality pull requests to add additional support so long as  they don't come with additional external dependencies or overly burdensome maintenance.\n\n### Authentication\n\nMD5 password and SCRAM-SHA-256 authentication are supported. SCRAM-SHA-256 is the default authentication method in PostgreSQL 10 and later.\n\nKerberosV5, cleartext, SCM, GSS, SSPI, SCRAM-SHA-256-PLUS (channel binding), and certificate authentication methods are not supported.\n\n### SSL/TLS\n\nOptional SSL/TLS encryption is supported. Pass `SSLRequired` with an `SSLContext` to `ServerConnectInfo` to enable encrypted connections. If the server refuses SSL negotiation, the connection fails. Plaintext connections are the default.\n\n### Commands\n\nSimple queries, parameterized queries (extended query protocol), named prepared statements, query cancellation, and LISTEN/NOTIFY are supported.\n\nSome functionality that isn't yet supported is:\n\n* Supplying connection configuration to the server\n* Pipelining queries\n* Function calls\n* COPY operations\n\nNote the appearance of an item on the above list isn't a guarantee that it will be supported in the future.\n\n### Data Types\n\nThe following data types are fully supported and will be converted from their postgres type to the corresponding Pony type. All other data types will be presented as `String`.\n\n* `bool` =\u003e `Bool`\n* `int2` =\u003e `I16`\n* `int4` =\u003e `I32`\n* `int8` =\u003e `I64`\n* `float4` =\u003e `F32`\n* `float8` =\u003e `F64`\n\nAs `String` is our default type, all character types such as `text` are returned to the user as `String` and as such, aren't listed in our supported types.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponylang%2Fpostgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponylang%2Fpostgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponylang%2Fpostgres/lists"}