PgDAC

TPgDataSetOptions.OIDAsInt Property

Used to read OID fields as integer values and map these fields to TIntegerField.

Class

TPgDataSetOptions

Syntax

property OIDAsInt: boolean default False;

Remarks

Use the OIDAsInt property to read OID fields as integer values and map these fields to TIntegerField.

By default dataset treats all fields with OID data type in the table (except main OID field of table created WITH OIDS option) as descriptors of large objects. PgDAC will try to read large objects with OIDs from query, and will fail if these OIDs are not large object descriptors.

Set these option to False to read OIDs as integer values and map OID fields to TIntegerField. Set this option to True to read OIDs as large objects descriptors, and then read the values of the corresponding large objects. When OIDAsInt is True, OID fields are mapped on TBlobField.

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback