Re: dropping foreign keys

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: dropping foreign keys
Дата
Msg-id 3C1958FA.6060500@selectacast.net
обсуждение исходный текст
Ответ на Re: dropping foreign keys  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: dropping foreign keys  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
What is the fktable and pktable?  I tried 'fktable' and 'pktable' and neither of them worked.

And should I use the tgconstrname or tgname?  I'm using tgconstrname.

Stephan Szabo wrote:

> On Thu, 13 Dec 2001 jks@selectacast.net wrote:
>
>
>>I tried that, but it didn't work.  I need to drop trigger <name> on
>><table>.  I got the name from the pg_triggers table, but apparently they
>>are not associated with any table.
>>
>
> Two should be associated with the pktable and one with the fktable.  I've
> done the drop trigger thing in the past, so unless someone's changed
> something it should work.  The table names can be grabbed out of the
> args, I think generally the first trigger is the one on the fktable
> and the other two are the pktable ones.
>
>


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


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

Предыдущее
От: "Bob Jones"
Дата:
Сообщение: Working on "SELECT * WHERE numeric_col = 2001.2" problem?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: dropping foreign keys