Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w6oWX-004g9P-1R for pgsql-odbc@arkaria.postgresql.org; Sun, 29 Mar 2026 11:41:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w6oWU-00GB2P-1w for pgsql-odbc@arkaria.postgresql.org; Sun, 29 Mar 2026 11:41:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w6oWU-00GB2F-1F for pgsql-odbc@lists.postgresql.org; Sun, 29 Mar 2026 11:41:42 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w6oWS-00000001dVJ-3dXu for pgsql-odbc@postgresql.org; Sun, 29 Mar 2026 11:41:41 +0000 Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-46701f2077cso3536213b6e.0 for ; Sun, 29 Mar 2026 04:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774784500; cv=none; d=google.com; s=arc-20240605; b=gc+frCs7Ie64FD6oKRFxmzgGpfBd370dyLWLudEaNJ6XpPv+zl3wt3K5FwlaMxpbk9 4afFB9hrPrqAR6+ySdaz4fHfvhvV+12psmYzcVyPxS6DelAcrxZ1HcHf+ObzgzsstQDF 6goEkBiXIbrHGrCWxs38ynJ6OowN2wuHtOCHJXD/KaY6xpqDddrbItE6/1x6D+U6Ogve qJrAW6agkszLxOfmoXX4VEd7ITqkkpK9mVZxYAKZ7OXw6L7HeLg7cLhVo8rsKFK7RSo6 Ehn6hhzjbqzZ2K9W1uIV6bmqSg7b/nMI2zIWv2LsEyNsBJHd82vdcj36XE1hj8gOdGNR hy6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=unLqKvA8lUomJI9xlJw3Ymw6XfeS8Gm3eQgLhEcdzsM=; fh=VdI7Jd8ltg7BrSsHTeg5ScuZNH+RTut6dBv9iEiWGLE=; b=dvHvHdSoVoWG8Z/EsORbFQsODV5VBL35jBBT+F1mfLF6c62Ejd+H4umHML2e0TF9KH X0btUySRhe+CfoIOnGZCGOA9i44ARu51BHen69OYCS4YHgrmQvCT4l27GvxASjMIc0v8 UYhE0kx5cGOLXreiwkMHrc5Y1mLCxME8k33JYpqothaKoaot3oj0AXlwU//JQaul/qhl uzVIzAXPjVY30JMqsb4dr8/BdM+P34Ow74mlShg5FK+sV8rB3yrRPfz7/xRJK/2HxYOP nVKCThaB3Uo0rnWvY0mjTuH/j4tbAVbsdTvDso6zAd07iTxx8Rga0VDCIm5TbSaSnjx/ +qbw==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774784500; x=1775389300; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=unLqKvA8lUomJI9xlJw3Ymw6XfeS8Gm3eQgLhEcdzsM=; b=CUKkNi1iqZGbykQfTpKniK0j8qD/CgDRuNHetlHn2SJLdUd0SP9pmHN+0GqVaComKC pV6K9sVgUEPoSklSztah8/uLqLEGSWrMofZbPvIhdoM8hfvHG7tZ1olEbc4fOmncI5Qv WdK0xaVJPQPYgTCVh62ZKWMKHybyTMInPFWL2AZ6HF/IivHrVE0nOI3Ai/NGe1P1yh9I aYuEbOD0cIaMSqyrzPlBqELgsQLsB5fM0QiSDqGTViYbFPwqTZxNAkdyhV28zZb2BdoM q+GsxcdBJ1kpyGVbXUmpN5VcM8ndkgxSH4qPcMsAOJ+jWo93vDhNbjE6jfvhao5pp3L8 qNLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774784500; x=1775389300; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=unLqKvA8lUomJI9xlJw3Ymw6XfeS8Gm3eQgLhEcdzsM=; b=sL6wJ2t0P52O9DpNW0rn1eQz8j7QUpKk7Oc5OX1Ag+0LLiapvaaL4Em/NWdW42asck CCD1yFOLFE2H5DJwZ7je6StKSAa68O+NhhMDlxgeXTLabaCxrD8UZZ1XA8U5qiqdDrZx NCJ4hsiTvF3C6zYYZB2y05lbHrwYnGo6BPLnR17MolE2OI2DjwmrufXFP/ELtozYCptV vwSuVrWG9pjglv0pmcvt1lYoMmKm0DwB08TTMPxu1Ndwh3qDtZNoSPg73woCLE+ClBuI yYhXCgmIB0YRihdop/gwODCrlzUQN1IHTNqYQGhGtcp02JJWjAE1r4b5oIrP4u4zfuUj hmBQ== X-Gm-Message-State: AOJu0YzBEvdHIW1+NyrXxLvlb0PStGPnyZCnBOyEWSaQdyRhbag3GrAU U2yqPyxLfzsQM12WONpIhyZFDB2/C48hEjiK2NZ0lV34RtMxrDt6uR/VZwYjCNE93frACN1sOPW xdMajCBm5WAQ+b7ce4EXXAgZwDQBhIpzZGAVH X-Gm-Gg: ATEYQzyD79wNmXWyy0gbNB3CiH4B5++fAc8ovx86UC7gas9f0iwFY+k5DelF7CjQ6Nb wWV4U48JkTZZ/hgZ6gyrikbY+2i9NauyLy4SSlP5MIqBzZjhi5ddv8n5QT1oANH9N2XfTcLUnGM r2UK1qBYBWNZnivEdD4cEvMKAEV6KBa1pc3MyIL7bcz3fFJnTQ4KgTc7i8ASxhx95ylYwza+SO1 uvksGuHMKMggFJDq+gV8Vh+RxXIakZAc5d7cxTwxh+Rxc93VR+O8GeAdqWIEomJK+m+b8kmLDwb PAHtzg== X-Received: by 2002:a4a:e1a9:0:b0:67d:e9ce:cb4a with SMTP id 006d021491bc7-67e10d1bf89mr5390051eaf.34.1774784500245; Sun, 29 Mar 2026 04:41:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dave Cramer Date: Sun, 29 Mar 2026 07:41:20 -0400 X-Gm-Features: AQROBzDQQ3wRU5jsWrmCG2ojD_Xqrtz1kBManVd_OzmkA0GH6qxCvCgStk981ds Message-ID: Subject: Re: Included fields should not be a part of SQLPrimaryKey() To: Igor Korot Cc: PostgreSQL ODBC list Content-Type: multipart/alternative; boundary="000000000000b0a9fb064e2837d0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b0a9fb064e2837d0 Content-Type: text/plain; charset="UTF-8" Hi Igor, Are you saying that the rest of the columns in the table should not be returned ? What version of the ODBC driver are you using? Dave Cramer On Sat, 28 Mar 2026 at 23:17, Igor Korot 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. > > > --000000000000b0a9fb064e2837d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Igor,

Are you saying that= the rest of the columns in=C2=A0the table should not be returned ?

What version of the ODBC driver are you using?
=
Dave Cramer


On Sat, = 28 Mar 2026 at 23:17, Igor Korot <= ikorot01@gmail.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.


--000000000000b0a9fb064e2837d0--