Skip to content

date_string_converter

pgrx extension skeleton for date-string conversion; current source exposes hello_date_string_converter().

date_string_converter · pgrx extension skeleton for date-string conversion; current source exposes hello_date_string_converter().

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
100940date_string_converterdate_string_converter0.0.0TIMEUnknownRust

PostgreSQL · 11, 12, 13, 14, 15, 16

Usage

Sources:

date_string_converter 0.0.0 is a pgrx demonstration extension. Although the repository README describes an intended converter for strings such as 1w 2d 4h 30m, the pinned extension implementation exposes only a greeting function; it contains no date-duration parser or conversion API.

Available Workflow

CREATE EXTENSION date_string_converter;

SELECT hello_date_string_converter();
-- Hello, date_string_converter

The only user-facing object in this version is hello_date_string_converter() RETURNS text. The extension is non-relocatable and its control file requires superuser installation.

Limitations

Do not design application logic around the converter described at repository level: there is no function that accepts 1w 2d 4h 30m, and no result such as 220.5 can be produced by this extension revision. Treat it as a minimal extension scaffold until upstream adds and documents a real conversion function. Its Cargo configuration targets PostgreSQL 11 through 16 via pgrx 0.10.1; newer server compatibility is not established by this source snapshot.

Table reader