Method

PgsqlParamsadd_timestamp

Declaration

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

Description

Adds a timestamp parameter as PostgreSQL TIMESTAMP type (without time zone).

The value should be a string in PostgreSQL timestamp format (e.g., “2025-01-15 14:30: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.