Re: dropping foreign keys

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: dropping foreign keys
Дата
Msg-id 3C19953B.3070605@selectacast.net
обсуждение исходный текст
Ответ на Re: dropping foreign keys  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: dropping foreign keys  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general

Stephan Szabo wrote:

> On Thu, 13 Dec 2001, Joseph Shraibman wrote:
>
>
>>What is the fktable and pktable?  I tried 'fktable' and 'pktable' and
>>neither of them worked.
>>
>
> The table the foreign key is on and the table it references, sorry, I've
> gotten used to using that shorthand.
>
>
>>And should I use the tgconstrname or tgname?  I'm using tgconstrname.
>>
>
> Ah, that'd do it.  You need to use the tgname


I tried both table names, and in both cases I got :
drop trigger RI_ConstraintTrigger_569229 on utable;
ERROR:  DropTrigger: there is no trigger ri_constrainttrigger_569229 on relation utable




--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://xis.xtenit.com


В списке pgsql-general по дате отправления:

Предыдущее
От: "Andrew Snow"
Дата:
Сообщение: Re: storing intermediate results from recursive plpgsql
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: dropping foreign keys