/usr/share/doc/firebird/sql.extensions
More options exposed in the SET TRANSACTION command. Syntax ======== SET TRANSACTION option_list The command is used in DSQL to start a transaction without using the specialized API call to create a new transaction. To the already existing options, the following have been added. Notice this is not new functionality: it's available through the TPB since years ago (they appear in ibase.h as items for TPBs). This extension only makes those options available to clients that want to start a transaction by executing a DSQL command, like isql's command prompt. The new options exposed are: NO AUTO UNDO: prevents the transaction from keeping an undo log that would be used to undo its changes if it's rolled back. The net effect is undoing the changes, then marking the transaction as committed. Without the undo logs, other transactions reading the affected record will collect the garbage. This option is useful for massive insertions when there's no need to roll back. IGNORE LIMBO: ignores the records created by transactions in limbo. Typically a transaction is in limbo when it's a multi-database transaction and the two phase commit fails. This option is mostly used by gfix. LOCK TIMEOUT nonneg_short_integer: it's the time (measured in seconds) that a transaction waits for a lock in a record before giving up and reporting an error. Author: Claudio Valderrama C. N O T E S ========= 1. Lock timeout has to be zero or positive and will be rejected if the NO WAIT option is specified. 2.- For transactions that only read data, no auto undo has zero impact. Example ======= Using an isql session: set transaction no auto undo lock timeout 10;
.
Edit
..
Edit
README.PSQL_stack_trace.txt
Edit
README.aggregate_filter.md
Edit
README.aggregate_tracking
Edit
README.alternate_string_quoting.txt
Edit
README.autonomous_transactions.txt
Edit
README.blob_append.md
Edit
README.builtin_functions.txt
Edit
README.case
Edit
README.coalesce
Edit
README.column_type_psql.txt
Edit
README.common_table_expressions
Edit
README.context_variables
Edit
README.context_variables2
Edit
README.cumulative_roles.txt
Edit
README.current_time
Edit
README.cursor_variables.txt
Edit
README.cursors
Edit
README.data_type_results_of_aggregations.txt
Edit
README.data_types
Edit
README.db_triggers.txt
Edit
README.ddl.txt
Edit
README.ddl_access.txt
Edit
README.ddl_triggers.txt
Edit
README.default_parameters
Edit
README.derived_tables.txt
Edit
README.distinct
Edit
README.domains_psql.txt
Edit
README.exception_handling
Edit
README.execute_block
Edit
README.execute_statement
Edit
README.execute_statement2
Edit
README.explicit_locks
Edit
README.expression_indices
Edit
README.external_connections_pool
Edit
README.floating_point_types.md
Edit
README.global_temporary_tables
Edit
README.hex_literals.txt
Edit
README.identity_columns.txt
Edit
README.iif
Edit
README.isc_info_xxx
Edit
README.joins.txt
Edit
README.keywords
Edit
README.leave_labels
Edit
README.length
Edit
README.linger
Edit
README.list
Edit
README.management_statements_psql.md
Edit
README.mapping.html
Edit
README.merge.txt
Edit
README.null_value
Edit
README.nullif
Edit
README.offset_fetch.txt
Edit
README.order_by_expressions_nulls
Edit
README.packages.txt
Edit
README.plan
Edit
README.regr_functions.txt
Edit
README.returning
Edit
README.rows
Edit
README.savepoints
Edit
README.scrollable_cursors.txt
Edit
README.select_expressions
Edit
README.sequence_generators
Edit
README.set_bind.md
Edit
README.set_role
Edit
README.set_transaction.txt
Edit
README.similar_to.txt
Edit
README.sql_security.txt
Edit
README.statistical_functions.txt
Edit
README.subroutines.txt
Edit
README.substring_similar.txt
Edit
README.time_zone.md
Edit
README.trim
Edit
README.universal_triggers
Edit
README.update_or_insert
Edit
README.user_management
Edit
README.view_updates
Edit
README.window_functions.md
Edit