Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver?

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: Michael Contzen <mcontzen(at)dohle(dot)com>
Cc: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] What is SQLForeignKeys in ODBC-Driver?
Date: 1999-02-22 21:25:40
Message-ID: 36D1CB54.AAEED337@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tobias Eriksson 1999-02-22 21:57:00 couldn't start postmaster - couldn't allocate shared memory
Previous Message Michael Davis 1999-02-22 18:47:58 How do I execute a postges stored procedure or function from Acce ss97?