Skip to content

hello-world

RLS demo extension with users and products tables

hello-world · RLS demo extension with users and products tables

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101395hello-worldhello-world0.0.1SECMITC
Relationships
Requirespgcrypto plpgsql supabase

Usage

Sources:

hello-world — 🛠 Built by the Constructive team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on GitHub.. Use it when implementing the corresponding security, audit, or access-control workflow. Its extension dependencies must be installed and validated first.

Core Workflow

CREATE EXTENSION "hello-world";

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • rls_test.update_updated_at_column() is an extension function and returns trigger.
  • rls_test.pets is a table installed or managed by the extension.
  • rls_test is a schema created by the extension.

Requirements and Caveats

  • The reviewed control file declares default version 0.0.1.
  • Install the confirmed extension dependencies first: plpgsql, pgcrypto, supabase.
  • The control file marks the extension as non-relocatable.
  • The control file does not require superuser-only installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader