Re: Does included columns part of the PK

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does included columns part of the PK
Date: 2026-03-16 21:30:32
Message-ID: 105a9d1a-c219-401a-9b81-4d77dde901f5@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

On 3/16/26 11:47 AM, Igor Korot wrote:

Reply to list also.
Ccing list.
> Adrian,
>
>
>
> On Mon, Mar 16, 2026, 8:03 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> On 3/15/26 6:23 PM, Igor Korot wrote:
> > Hi, Adrian,
> >
> > Here is the log file from running in ODBC mode: https://bpa.st/
> Z2DWG <https://bpa.st/Z2DWG>
>
> I have no idea what this is trying to show?
>
>
> The log shows ODBC connection and then at the end - call to
> SQLPrimaryKeys().

Where?

I don't see that in either the link you posted or the text file Greg
sent to the list.

>
> If you run it against the table I posted above, you will get 3 fields.
> Whereas it should be just one.

Again, run it how?

>
> Thank you.
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2026-03-16 21:40:20 Re: Does included columns part of the PK
Previous Message Adrian Klaver 2026-03-16 21:27:05 Re: Does included columns part of the PK

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2026-03-16 21:40:20 Re: Does included columns part of the PK
Previous Message Adrian Klaver 2026-03-16 21:27:05 Re: Does included columns part of the PK