diff --git a/reference/pgsql/functions/pg-enter-pipeline-mode.xml b/reference/pgsql/functions/pg-enter-pipeline-mode.xml new file mode 100644 index 000000000000..7103a9781449 --- /dev/null +++ b/reference/pgsql/functions/pg-enter-pipeline-mode.xml @@ -0,0 +1,93 @@ + + + + pg_enter_pipeline_mode + Causes a connection to enter pipeline mode if it is currently idle. + + + + &reftitle.description; + + boolpg_enter_pipeline_mode + PgSql\Connectionconnection + + + Causes a connection to enter pipeline mode if it is currently idle. + + + + + &reftitle.parameters; + + + + connection + + &pgsql.parameter.connection; + + + + + + + + &reftitle.returnvalues; + + Returns &true; if it succeeds to enter in pipeline mode or &false; + + + + + &reftitle.examples; + + <function>pg_enter_pipeline_mode</function> example + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + pg_exit_pipeline_mode + pg_connect + pg_connect_poll + pg_flush + + + + + diff --git a/reference/pgsql/functions/pg-exit-pipeline-mode.xml b/reference/pgsql/functions/pg-exit-pipeline-mode.xml new file mode 100644 index 000000000000..276aeca2258e --- /dev/null +++ b/reference/pgsql/functions/pg-exit-pipeline-mode.xml @@ -0,0 +1,95 @@ + + + + pg_exit_pipeline_mode + Causes a connection to exit pipeline mode + + + + &reftitle.description; + + boolpg_exit_pipeline_mode + PgSql\Connectionconnection + + + Causes a connection to exit pipeline mode if it is currently in pipeline mode with an empty queue and no pending results. + + + + + &reftitle.parameters; + + + + connection + + &pgsql.parameter.connection; + + + + + + + + &reftitle.returnvalues; + + Returns &true; if it succeeds to exit the pipeline mode, assuming + it was in this mode via pg_enter_pipeline_mode, + &false; otherwise. + + + + + &reftitle.examples; + + <function>pg_exit_pipeline_mode</function> example + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + pg_enter_pipeline_mode + pg_connect + pg_connect_poll + pg_flush + + + + + diff --git a/reference/pgsql/functions/pg-pipeline-status.xml b/reference/pgsql/functions/pg-pipeline-status.xml new file mode 100644 index 000000000000..0af6a1f74a11 --- /dev/null +++ b/reference/pgsql/functions/pg-pipeline-status.xml @@ -0,0 +1,95 @@ + + + + pg_pipeline_status + Returns the current pipeline mode status of the libpq connection. + + + + &reftitle.description; + + intpg_pipeline_status + PgSql\Connectionconnection + + + Returns the current pipeline mode status of the libpq connection. + + + + + &reftitle.parameters; + + + + connection + + &pgsql.parameter.connection; + + + + + + + + &reftitle.returnvalues; + + Returns one of the following status: + PGSQL_PIPELINE_ON, PGSQL_PIPELINE_OFF or + PGSQL_PIPELINE_ABORTED. + + + + + &reftitle.examples; + + <function>pg_pipeline_status</function> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + pg_enter_pipeline_mode + + + + diff --git a/reference/pgsql/functions/pg-pipeline-sync.xml b/reference/pgsql/functions/pg-pipeline-sync.xml new file mode 100644 index 000000000000..cf63935e2bb0 --- /dev/null +++ b/reference/pgsql/functions/pg-pipeline-sync.xml @@ -0,0 +1,96 @@ + + + + pg_pipeline_sync + Marks a synchronization point in a pipeline by sending a sync message and flushing the send buffer. + + + + &reftitle.description; + + boolpg_pipeline_sync + PgSql\Connectionconnection + + + Marks a synchronization point in a pipeline by sending a sync message and flushing the send buffer. + + + + + &reftitle.parameters; + + + + connection + + &pgsql.parameter.connection; + + + + + + + + &reftitle.returnvalues; + + Returns &true; on success or &false; + + + + + &reftitle.examples; + + <function>pg_pipeline_sync</function> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + pg_enter_pipeline_mode + pg_pipeline_status + + + + diff --git a/reference/pgsql/functions/pg-set-error-context-visibility.xml b/reference/pgsql/functions/pg-set-error-context-visibility.xml new file mode 100644 index 000000000000..4dc80de5053e --- /dev/null +++ b/reference/pgsql/functions/pg-set-error-context-visibility.xml @@ -0,0 +1,110 @@ + + + + pg_set_error_context_visibility + + Determines the visibility of the context's error messages. + + + + + &reftitle.description; + + intpg_set_error_context_visibility + PgSql\Connectionconnection + intvisibility + + + Determines the visibility of the context's error messages returned by pg_last_error + and pg_result_error + + + + + &reftitle.parameters; + + + + connection + + &pgsql.parameter.connection; + + + + visibility + + + The required visibility: PGSQL_SHOW_CONTEXT_NEVER, + PGSQL_SHOW_CONTEXT_ERRORS + or PGSQL_SHOW_CONTEXT_ALWAYS. + + + + + + + + + &reftitle.returnvalues; + + The previous visibility level: PGSQL_SHOW_CONTEXT_NEVER, + PGSQL_SHOW_CONTEXT_ERRORS + or PGSQL_SHOW_CONTEXT_ALWAYS. + + + + + &reftitle.examples; + + <function>pg_set_error_context_visibility</function> example + + Description. + + + +]]> + + + + + + &reftitle.seealso; + + + pg_last_error + pg_result_error + + + + + diff --git a/reference/pgsql/functions/pg-trace.xml b/reference/pgsql/functions/pg-trace.xml index a802480fcb96..17bd785c6f96 100644 --- a/reference/pgsql/functions/pg-trace.xml +++ b/reference/pgsql/functions/pg-trace.xml @@ -14,6 +14,7 @@ stringfilename stringmode"w" PgSql\Connectionnullconnection&null; + inttrace_mode0 pg_trace enables tracing of the PostgreSQL diff --git a/reference/pgsql/versions.xml b/reference/pgsql/versions.xml index 134edaa08590..aaba7cdaa718 100644 --- a/reference/pgsql/versions.xml +++ b/reference/pgsql/versions.xml @@ -20,12 +20,14 @@ + + @@ -70,6 +72,8 @@ + + @@ -85,6 +89,7 @@ +