Skip to content

rgb

RGB color datatype with GiST index support

rgb · RGB color datatype with GiST index support

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101748rgbrgb0.0.1TYPEApache-2.0C

Usage

Sources:

rgb — This library contains a single PostgreSQL extension, a RGB color data type, along with convenience functions for constructing, converting, and indexing RGB colors. Use it when application data needs this type, domain, or its operators. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION rgb;

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.

Requirements and Caveats

  • The reviewed control file declares default version 0.0.1.
  • The control file marks the extension as relocatable.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader