pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byronn@insightdist.com>
To: Michael Contzen <mcontzen@dohle.com>
Cc: 'pgsql-interfaces@postgresql.org' <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver?
Date: Mon, 22 Feb 1999 16:25:40 -0500
Message-ID: <36D1CB54.AAEED337@insightdist.com> (raw)
References: <01BE5E74.0C896220@wcontzen.dohle.com>



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




view thread (3+ messages)

Message-ID: <36D1CB54.AAEED337@insightdist.com>
Permalink:  ../36D1CB54.AAEED337@insightdist.com/
Also on:    postgresql.org/message-id/36D1CB54.AAEED337@insightdist.com

 · 

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: pgsql-interfaces@postgresql.org
  Cc: byronn@insightdist.com, mcontzen@dohle.com
  Subject: Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver?
  In-Reply-To: <36D1CB54.AAEED337@insightdist.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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