Skip to main content

render-lab-tasks-render-postgres

Nine tasks: postgres.query, execute, upsert, transaction, migrate, setupVectorStore, upsertVectors, searchVectors, and deleteVectors. Import render_lab_tasks_render_postgres.tasks for explicit registration. Each operation exports an injectable async *_impl(ctx, input, *, deps=...).

Environment, read at first use:

Variable Meaning
DATABASE_URL PostgreSQL URL, required; linked Render Postgres private URL is supported
DATABASE_SSL true/require verifies TLS certificates, no-verify encrypts without verification; unset uses URL/driver options

The async psycopg driver uses native $1 positional placeholders. Each invocation closes its connection. Transactions roll back on exceptions and cancellation; there are no driver retries. Durable tasks retry three times with 1s exponential backoff. Arbitrary SQL writes can repeat after an ambiguous commit failure.

Generated upserts validate and quote identifiers, an intentional tightening from TypeScript's trusted-identifier interpolation. Schema-qualified table names are not accepted by generated operations; use explicit SQL in query/execute instead. Vector operations preserve the canonical id/content/metadata/embedding schema, finite-vector validation, bounded search limits, and guarded delete selectors.

Migration SQL and ledger inserts run in one transaction. Concurrent callers can race on the ledger read; PostgreSQL rolls back the losing transaction. Migration names must be unique. DDL requiring autocommit (such as CREATE INDEX CONCURRENTLY) does not belong in a migration transaction.

Results are JSON values: decimal/UUID values become strings, dates/times ISO strings, and binary values become Node-compatible Buffer-shaped JSON. Unknown custom driver objects and non-finite floats fail instead of escaping the task. These mappings intentionally define Python serialization where raw node-postgres objects were ambiguous. Live Postgres/pgvector/TLS checks remain in the backlog.

Installation

pip install render-lab-tasks-render-postgres==0.1.0

Metadata

Release files for render-lab-tasks-render-postgres 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for render-lab-tasks-render-postgres 0.1.0
File Size Uploaded Provenance Actions
render_lab_tasks_render_postgres-0.1.0.tar.gz 9.8 kB With provenance Details for render_lab_tasks_render_postgres-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for render-lab-tasks-render-postgres 0.1.0
File Interpreter ABI Platform Actions
render_lab_tasks_render_postgres-0.1.0-py3-none-any.whl Python 3 none any Details for render_lab_tasks_render_postgres-0.1.0-py3-none-any.whl

Total release size: 24.3 kB

Release files / render_lab_tasks_render_postgres-0.1.0.tar.gz

Download URL render_lab_tasks_render_postgres-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
173284dafa587a5cc93e31a3bbdfdd3ab9c97f7ec9b53d2e72a0618e44e97b66
BLAKE2b-256 checksum
How to use checksums
590ebe04a9443f8b6a3eaa0413b36cc9e6afffd5ac53ca037e36a1f3f19501e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Release files / render_lab_tasks_render_postgres-0.1.0-py3-none-any.whl

Download URL render_lab_tasks_render_postgres-0.1.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24203263f5b48f5d4338142d94006ed449bd6f3234c683121b58010e29b3e3dc
BLAKE2b-256 checksum
How to use checksums
b7086b40d3a947ac788aa31665f870281d6d933a4a94dd271ebc4f1150ac1c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Security for render-lab-tasks-render-postgres 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for render_lab_tasks_render_postgres-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page