timestamptp
Timestamp type preserving the original UTC offset
timestamptp · Timestamp type preserving the original UTC offset
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102192 | timestamptp | timestamptp | 1.0 | TYPE | C |
Usage
Sources:
timestamptp stores an absolute timestamp together with its original UTC offset and prints using that offset. It preserves an offset, not a named zone with future daylight-saving rules.
Core Workflow
Operational Boundaries
make_timestamptp(timestamptz, integer) and make_timestamptp(timestamptz, text) provide constructors. Casting to timestamptz discards the saved offset; casting back uses the session time zone. Equality compares instants while ignoring offsets, and interval addition preserves the saved offset. The type is relocatable and uses a native library. Upstream does not publish a PostgreSQL-major support matrix or a clear license declaration. Installation uses the control-file superuser default.