Re: Included fields should not be a part of SQLPrimaryKey()

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: Dave Cramer <davecramer(at)gmail(dot)com>
Cc: PostgreSQL ODBC list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Included fields should not be a part of SQLPrimaryKey()
Date: 2026-03-29 15:34:38
Message-ID: CA+FnnTzGwOiVN1CiRUtQr-joCJJhC7XtZ-4XUSk_MV+ZbcH+Rw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi, Dave,

On Sun, Mar 29, 2026 at 4:41 AM Dave Cramer <davecramer(at)gmail(dot)com> wrote:

> Hi Igor,
>
> Are you saying that the rest of the columns in the table should not be
> returned ?
>

If I have PRIMARY KEY with INCLUDED clause, only PK fields should be
returned.

> What version of the ODBC driver are you using?
>

On Windows I’m using the latest driver.
On Linux slightly older.

Thank you.

> Dave Cramer
>
>
> On Sat, 28 Mar 2026 at 23:17, Igor Korot <ikorot01(at)gmail(dot)com> wrote:
>
>> Hi, list,
>>
>> In my experience with PostgreSQL on either Linux or Windows
>> the included fields are returned as part of the call to SQLPrimaryKey.
>>
>> I already sent an E-mail to this list about it but seeing that there is
>> no response, I am trying again.
>>
>> Thank you.
>>
>>
>>

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Igor Korot 2026-03-30 00:20:59 Re: Included fields should not be a part of SQLPrimaryKey()
Previous Message Dave Cramer 2026-03-29 11:41:20 Re: Included fields should not be a part of SQLPrimaryKey()