how to know this row has been referenced or not????

Поиск
Список
Период
Сортировка
Искать
От
Akbar
Тема
how to know this row has been referenced or not????
Дата
Msg-id
1108036814.11195.5.camel@tux.akbarhome
Список
Дерево обсуждения
how to know this row has been referenced or not???? Akbar <tuxer@myrealbox.com>
Re: how to know this row has been referenced or not???? Michael Fuhr <mike@fuhr.org>
Re: how to know this row has been referenced or not???? Akbar <tuxer@myrealbox.com>
Re: how to know this row has been referenced or not???? <operationsengineer1@yahoo.com>
Re: how to know this row has been referenced or not???? <operationsengineer1@yahoo.com>
Assume I have one table:
id    name    comment
1     stupid  blabla
2     idiot   blabla

These row has been referenced by other table..... Then I add one row to
that table, so the table become:
id    name    comment
1     stupid  blabla
2     idiot   blabla
3     dumb    bleble

The row with id "3" has not been referenced by other table because I
have just insert it ( it is still fresh ).... How do I know for sure
that "this row" or "that row" has or has not been referenced by other
table???? Of cource I can test it by trying to delete it.... if it has
been referenced, the delete command will fail, and if it has not been
referenced the delete command will success.....

Thank you.

В списке pgsql-novice по дате отправления
От: Oisin Glynn
Дата:
От: Michael Fuhr
Дата:
FAQ