{"id":50985,"library":"jackc-pgx","title":"pgx","description":"A PostgreSQL database driver and toolkit for Go.","status":"active","version":"3.6.2+incompatible","language":"go","source_language":null,"source_url":"https://github.com/jackc/pgx","tags":["postgresql","database","driver"],"install":[{"cmd":"go get github.com/jackc/pgx","lang":"bash","label":"Install github.com/jackc/pgx"}],"dependencies":[],"imports":[{"symbol":"pgx","correct":"github.com/jackc/pgx"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"github.com/jackc/pgx\"\n)\n\nfunc main() {\n\tconn, _ := pgx.Connect(context.Background(), \"postgres://user:pass@localhost/db\")\n\tdefer conn.Close()\n\tfmt.Println(conn.PID())\n}","lang":"go","description":"Connect to a PostgreSQL database and print the connection PID."},"warnings":[{"fix":"Update to github.com/jackc/pgx/v5","message":"Version 3.x is outdated; consider upgrading to pgx v5 for new features and support.","severity":"breaking","affected_versions":">=3.0.0 <4.0.0"}],"env_vars":null,"search_vec":"'databas':4,11 'driver':5,12 'go':9 'pgx':1 'postgresql':3,10 'toolkit':7","created_at":"2026-06-15T05:16:21.406043+00:00","updated_at":"2026-06-15T05:16:21.406043+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jackc/pgx","github":"https://github.com/jackc/pgx","docs":"https://pkg.go.dev/github.com/jackc/pgx#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}