Re: Does included columns part of the PK
| От | Adrian Klaver |
|---|---|
| Тема | Re: Does included columns part of the PK |
| Дата | |
| Msg-id | b3f6ecfb-8772-4e15-a772-8e64fb573d49@aklaver.com обсуждение исходный текст |
| Ответ на | Does included columns part of the PK (Igor Korot <ikorot01@gmail.com>) |
| Ответы |
Re: Does included columns part of the PK
|
| Список | pgsql-general |
On 3/14/26 12:09 AM, Igor Korot wrote: > Hi, ALL, > Have one weird question ;-) > > When I connect with ODBC and call SQLPrimaryKey() the function returns Are you actually using the SQLPrimaryKeys(), not SQLPrimaryKey()? > all fields including > "included" fields. Define 'included' fields. > I'm getting only direct PK fields. Define direct PK fields. > > I presume that libpq is correct and the ODBC driver is the one that > needs to be fixed. Returning the actual results from each case would help. Have you cranked up the logging on the Postgres server to see what query ODBC is using? > > Just wanted to ask this list before going to complain to the ODBC list... ;-) > > Thank you. > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: