Method

PgsqlParamsadd_timestamptz

Declaration

void
pgsql_params_add_timestamptz (
  PgsqlParams* self,
  const char* value
)

Description

Adds a timestamp parameter as PostgreSQL TIMESTAMPTZ type (with time zone).

The value should be a string in PostgreSQL timestamp with time zone format (e.g., “2025-01-15 14:30:00+00”).

Parameters

value

Type: const char*

The timestamp string value to add.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.