A Harlequin adapter for Postgres.
Project description
harlequin-postgres
This project provides the Harlequin adapter for Postgres. For more information, see harlequin.sh.
Installation
You must install the harlequin-postgres package into the same environment as harlequin. The best and easiest way to do this is to use uv to install Harlequin with the postgres extra:
uv tool install 'harlequin[postgres]'
Using Harlequin with Postgres
To connect to a Postgres database, run Harlequin with the -a postgres option and pass a Posgres DSN as an argument:
harlequin -a postgres "postgres://my-user:my-pass@localhost:5432/my-database"
Connection Options
You can also pass all or parts of the connection string as separate options. The following is equivalent to the above DSN:
harlequin -a postgres -h localhost -p 5432 -U my-user --password my-pass -d my-database
The supported connection options are:
host
port
dbname
user
password
passfile
require_auth
channel_binding
connect_timeout
sslmode
sslcert
sslkey
For descriptions of each option, run:
harlequin --help
Environment Variables
Harlequin's Postgres driver will load connection information from the standard PG* environment variables. Any options supplied at the command-line will override environment variables.
Manual Transactions
To use Manual transaction mode, click on the label in the Run Query Bar to toggle the transaction mode from Auto to Manual.
Further Documentation
For more information, see the Harlequin Docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harlequin_postgres-1.3.1.tar.gz.
File metadata
- Download URL: harlequin_postgres-1.3.1.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25dcb73e97cdfb17c3bcfdc3146418a98ff11ce68f6a51fb1b25322eac9d5223
|
|
| MD5 |
8784783ec6a61ba298bbcaf0781884b0
|
|
| BLAKE2b-256 |
a42718e42a6a524ed28dc94aa26199fe6766f95073c246517e35f157098e5743
|
Provenance
The following attestation bundles were made for harlequin_postgres-1.3.1.tar.gz:
Publisher:
publish.yml on tconbeer/harlequin-postgres
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_postgres-1.3.1.tar.gz -
Subject digest:
25dcb73e97cdfb17c3bcfdc3146418a98ff11ce68f6a51fb1b25322eac9d5223 - Sigstore transparency entry: 1341111241
- Sigstore integration time:
-
Permalink:
tconbeer/harlequin-postgres@522b441b726485342b67aac64eea064bb51da209 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tconbeer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@522b441b726485342b67aac64eea064bb51da209 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file harlequin_postgres-1.3.1-py3-none-any.whl.
File metadata
- Download URL: harlequin_postgres-1.3.1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e8a71ddf9d0cde82c7a09b0b0b883b7fa782fd76dd7ad3f5920fbba70a8e45d
|
|
| MD5 |
144c9bab5be41dfa2a92d658a9c9dca4
|
|
| BLAKE2b-256 |
003b89d7a606121d0ff8b7b4e6a6bd40da29b6ae5b25bb89a925c8ce77ea8e6a
|
Provenance
The following attestation bundles were made for harlequin_postgres-1.3.1-py3-none-any.whl:
Publisher:
publish.yml on tconbeer/harlequin-postgres
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_postgres-1.3.1-py3-none-any.whl -
Subject digest:
0e8a71ddf9d0cde82c7a09b0b0b883b7fa782fd76dd7ad3f5920fbba70a8e45d - Sigstore transparency entry: 1341111330
- Sigstore integration time:
-
Permalink:
tconbeer/harlequin-postgres@522b441b726485342b67aac64eea064bb51da209 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tconbeer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@522b441b726485342b67aac64eea064bb51da209 -
Trigger Event:
pull_request
-
Statement type: