Skip to content

omni_http

Basic HTTP types

omnigres : Basic HTTP types

Overview

ID Extension Package Version Category License Language
2949 omni_http omnigres 0.1.0 FEAT Apache-2.0 C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
----d-- No No No Yes no no

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PIGSTY 0.1.0 19 18 17 16 15 omnigres -
RPM PIGSTY 20260212 19 18 17 16 15 omnigres_$v postgresql$v-contrib, postgresql$v-plpython3, python3-pip
DEB PIGSTY 20260212 19 18 17 16 15 postgresql-$v-omnigres postgresql-plpython3-$v, python3-pip
Linux / PG PG19 PG18 PG17 PG16 PG15
el8.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
el8.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
el9.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
el9.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
el10.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
el10.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
d12.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
d12.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
d13.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
d13.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u22.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u22.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u24.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u24.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u26.x86_64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212
u26.aarch64 N/A PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212 PIGSTY 20260212

Source

docs.omnigres.org/omni_httpc/reference/

omnigres-20260212.tar.gz wheel-0.45.1-py3-none-any.whl

pig build pkg omnigres;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install omnigres;		# install via package name, for the active PG version
pig install omni_http;		# install by extension name, for the current active PG version

pig install omni_http -v 18;   # install for PG 18
pig install omni_http -v 17;   # install for PG 17
pig install omni_http -v 16;   # install for PG 16
pig install omni_http -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION omni_http;

Usage

omni_http: Basic HTTP types

The omni_http extension provides foundational HTTP types used by omni_httpc and omni_httpd.

Key Types

  • omni_http.http_method – HTTP method enum (GET, POST, PUT, DELETE, etc.)
  • omni_http.http_headers – Array type for HTTP headers. If header name is null, no header is created; if value is null, it serializes as empty string.
  • omni_http.http_request – Composite type representing an HTTP request
  • omni_http.http_response – Composite type representing an HTTP response

These types form the shared interface between the HTTP client (omni_httpc) and HTTP server (omni_httpd) extensions.

Table reader