Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver? - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver?
Date
Msg-id 36D1CB54.AAEED337@insightdist.com
Whole thread Raw
In response to What is SQLForeignKeys in ODBC-Driver?  (Michael Contzen <mcontzen@dohle.com>)
List pgsql-interfaces

Michael Contzen wrote:

> Hello,
> I have a simple question: In technical information about the ODBC-driver you can find the following:
>
> ---------------------
> Database protocols supported:   Postgres 6.2, 6.3, 6.4 (configurable by datasource)
>   ...
> Extensions*:
> SQLExtendedFetch**
> SQLPrimaryKeys**
> SQLForeignKeys**
>
>    ...
> **  see FAQ for additional information.
>   ------------------------
>
> The FAQ doesn't tell anything about this. I have looked into the source-code an found some code for foreign keys.
> Is  the a way to use foreign keys over an ODBC-link?
> Kind regards,
>
>

Yes, the driver supports SQLForeignKeys.  The driver uses trigger information from the pg_trigger table to fill out
the result set.  That's why it says "see the FAQ", but I never got around to putting it in the FAQ.

Byron


pgsql-interfaces by date:

Previous
From: "Ken J. Wright"
Date:
Subject: RE: [INTERFACES] pgAdmin 6.4.3 Released
Next
From: "Tobias Eriksson"
Date:
Subject: couldn't start postmaster - couldn't allocate shared memory