Why pg_dump doesn't dump the foriegn keys?

Поиск
Список
Период
Сортировка
От Raymond Chui
Тема Why pg_dump doesn't dump the foriegn keys?
Дата
Msg-id 3A785895.C3E5AB91@noaa.gov
обсуждение исходный текст
Список pgsql-general
I do

pg_dump -u -s dbname > db_schema

I look at that db_schema file, I only see the primary keys but no
foreign keys.
I don't understand what is OID use for. Will -o option dump the foreign
keys for me?
Thank you!

--
Why we want to teach our babies to talk and walk,
then later we tell them "sit down!", "be quiet!" ?

Democracy is not a better way for a solution,
it is just another way to spread the blames.

--Raymond


Вложения

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

Предыдущее
От: ""
Дата:
Сообщение: Re: postgres limitation
Следующее
От: ""
Дата:
Сообщение: Re: How do I list all tables?