Re: Does included columns part of the PK
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Igor Korot <ikorot01@gmail.com>, "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-03-14T15:51:24Z
Lists: pgsql-general
On Saturday, March 14, 2026, Adrian Klaver <adrian.klaver@aklaver.com> wrote: > On 3/14/26 12:09 AM, Igor Korot wrote: > >> Hi, ALL, >> Have one weird question ;-) >> >> When I connect with ODBC and call SQLPrimaryKey() the function returns >> > > Are you actually using the SQLPrimaryKeys(), not SQLPrimaryKey()? > > all fields including >> "included" fields. >> > > Define 'included' fields. > They are referring to the unique index that backs the PK constraint. David J.