Re: Re: more odbc patches
От | Bruce Momjian |
---|---|
Тема | Re: Re: more odbc patches |
Дата | |
Msg-id | 200101230445.XAA06897@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Re: more odbc patches (Max Khon <fjoe@iclub.nsu.ru>) |
Ответы |
Re: Re: more odbc patches
|
Список | pgsql-interfaces |
Can someone comment on this? > hi, there! > > how about this? > > --- cut here --- > >From cs@plesk.com Sat Dec 16 15:08:40 2000 > Date: Thu, 14 Dec 2000 17:00:43 +0600 (NOVT) > From: Constantin S. Svintsoff <cs@plesk.com> > To: fjoe@iclub.nsu.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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-interfaces по дате отправления: