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

From Igor Korot
Subject Re: Does included columns part of the PK
Date
Msg-id CA+FnnTyFVn4Ebx9kP-5vooZwpATwV5Euc8Nt6TGmEuR6oDYd9A@mail.gmail.com
Whole thread
In response to Re: Does included columns part of the PK  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Does included columns part of the PK
List pgsql-general
Hi,

On Sat, Mar 14, 2026 at 8:51 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
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.

Not “they” - “He”. 😊

And yes - that’s what I’m referring to.

Thank you.


David J. 

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Does included columns part of the PK
Next
From: Adrian Klaver
Date:
Subject: Re: Does included columns part of the PK