Re: Does included columns part of the PK - Mailing list pgsql-general

From David G. Johnston
Subject Re: Does included columns part of the PK
Date
Msg-id CAKFQuwYswndGOm6vnsoNSTWHEC5d29bvYokymtDEY_cyW54FEQ@mail.gmail.com
Whole thread Raw
In response to Re: Does included columns part of the PK  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Does included columns part of the PK
List 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. 

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Does included columns part of the PK
Next
From: Igor Korot
Date:
Subject: Re: Does included columns part of the PK