postgresql-interfaces/psqlodbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: oneeyeman1 (@oneeyeman1) <[email protected]>
To: postgresql-interfaces/psqlodbc <[email protected]>
Subject: [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output
Date: Fri, 03 Apr 2026 01:05:07 +0000
Message-ID: <[email protected]> (raw)
Description:
The title says it all.
Steps to reproduce:
1. Execute the following::
CREATE TABLE leagues_new(id serial, name varchar(100), drafttype smallint, scoringtype smallint, roundvalues smallint,leaguetype char(5), salary integer, benchplayers smallint, primary key(id) INCLUDE (drafttype, scoringtype) WITH( fillfactor = 50,deduplicate_items = OFF ));
2 Create a program using ODBC and call SQLPrimaryKey()
3 Observe that the result set will contain 3 records.
Observed vs expected behavior:
I was expecting to have only PK fields to be returned. But the included fields was also returned.
view thread (2+ messages) latest in thread
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: github://postgresql-interfaces/psqlodbc
Cc: [email protected], [email protected]
Subject: Re: [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output
In-Reply-To: <<[email protected]>>
* 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