postgresql-interfaces/psqlodbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
[postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output
2+ messages / 1 participants
[nested] [flat]

* [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output
@ 2026-04-03 01:05 "oneeyeman1 (@oneeyeman1)" <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: oneeyeman1 (@oneeyeman1) @ 2026-04-03 01:05 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output
@ 2026-04-21 05:30 "oneeyeman1 (@oneeyeman1)" <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: oneeyeman1 (@oneeyeman1) @ 2026-04-21 05:30 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

@davecramer ,
Thx.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-04-21 05:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-03 01:05 [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output "oneeyeman1 (@oneeyeman1)" <[email protected]>
2026-04-21 05:30 Re: [postgresql-interfaces/psqlodbc] issue #170: Included columns are included in SQLPrimaryKey() output "oneeyeman1 (@oneeyeman1)" <[email protected]>

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