PgDAC

TPgConnection.Options Property

Specifies the behaviour of the TPgConnectionOptions object.

Class

TPgConnection

Syntax

property Options: TPgConnectionOptions;

Remarks

Set the properties of Options to specify the behaviour of a TPgConnectionOptions object.

Descriptions of all options are in the table below.

Option Name Description
ApplicationName Defines the application name for connecting to the server. This name will be displayed in the pg_stat_activity view and included in CSV log entries. Only printable ASCII characters may be used in the ApplicationName value. Other characters will be replaced with question marks (?).
Charset Used to set the character set that PgDAC uses to read and write character data.
EnableBCD Used to enable currency type. Default value of this option is False.
EnableComposites Used to detect fields of composite (ROW) type and create separate fields for each attribute of composite type.
EnableDomains Used to map fields of domain types to TField with the base domain type.
EnableFMTBCD Used to enable using FMTBCD instead of float for large integer numbers to keep precision.
EnableGeometrics Used to map fields of geometric types to TPgGeometricField.
EnablePgTimeStamps Used to map DATE, TIME, and TIMESTAMP fields to TPgDateField, TPgTimeField, and TPgTimeStampField accordingly.
ImmediateNotices Sets the behavior of receiving notices from PostgreSQL.
IPVersion Used to specify Internet Protocol version.
MessagesCharset Used to set a character set for PostgreSQL error messages.
MultipleConnections Used to enable or disable the creation of an additional internal connection for TPgQuery, when necessary.
UseUnicode Used to specify a value indicating whether the UTF8 charset will be used.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback