Re: Re: more odbc patches

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Max Khon <fjoe(at)iclub(dot)nsu(dot)ru>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Re: more odbc patches
Date: 2001-01-23 20:35:49
Message-ID: 200101232035.PAA01203@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc pgsql-patches


Sorry, here is the correct patch.

> hi, there!
>
> how about this?
>
> --- cut here ---
> >From cs(at)plesk(dot)com Sat Dec 16 15:08:40 2000
> Date: Thu, 14 Dec 2000 17:00:43 +0600 (NOVT)
> From: Constantin S. Svintsoff <cs(at)plesk(dot)com>
> To: fjoe(at)iclub(dot)nsu(dot)ru
> Subject: Bug in SQLForeignKeys()
>
>
> Query used for checking foreign key triggers
> returns too many results when there're more than one foreign
> key in a table. It happens because only table's oid is used to
> link between pg_trigger with INSERT check and pg_trigger with
> UPDATE/DELETE check.
>
> I think there should be enough to add following conditions
> into WHERE clause of that query:
> AND pt.tgconstrname = pg_trigger.tgconstrname
> AND pt.tgconstrname = pg_trigger_1.tgconstrname
>
> /Constantin
> --- cut here ---
>
> /fjoe
>
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 3.4 KB

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Santiago G. Cirone 2001-01-23 23:48:19
Previous Message Bruce Momjian 2001-01-23 20:32:35 Re: Re: more odbc patches

Browse pgsql-odbc by date

  From Date Subject
Next Message The Hermit Hacker 2001-01-23 20:50:33 Re: Re: [HACKERS] ODBC Driver int8 Patch
Previous Message Bruce Momjian 2001-01-23 20:32:35 Re: Re: more odbc patches

Browse pgsql-patches by date

  From Date Subject
Next Message The Hermit Hacker 2001-01-23 20:50:33 Re: Re: [HACKERS] ODBC Driver int8 Patch
Previous Message Bruce Momjian 2001-01-23 20:32:35 Re: Re: more odbc patches