public inbox for pgsql-odbc@postgresql.org  
help / color / mirror / Atom feed
From: David G. Johnston <david.g.johnston@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Igor Korot <ikorot01@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Does included columns part of the PK
Date: Sat, 14 Mar 2026 08:51:24 -0700
Message-ID: <CAKFQuwYswndGOm6vnsoNSTWHEC5d29bvYokymtDEY_cyW54FEQ@mail.gmail.com> (raw)
In-Reply-To: <b3f6ecfb-8772-4e15-a772-8e64fb573d49@aklaver.com>
References: <CA+FnnTz7+dbyk5Gn2iM-eo1Xvfax15yjBevmCCfvo0-UVW1K7Q@mail.gmail.com>
	<b3f6ecfb-8772-4e15-a772-8e64fb573d49@aklaver.com>

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.


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-odbc@postgresql.org
  Cc: david.g.johnston@gmail.com, adrian.klaver@aklaver.com, ikorot01@gmail.com, pgsql-general@lists.postgresql.org
  Subject: Re: Does included columns part of the PK
  In-Reply-To: <CAKFQuwYswndGOm6vnsoNSTWHEC5d29bvYokymtDEY_cyW54FEQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox