Re: [GENERAL] row oids as "foreign keys" in other tables ?

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [GENERAL] row oids as "foreign keys" in other tables ?
Дата
Msg-id 35BE78DD.B0C945C2@krs.ru
обсуждение исходный текст
Ответ на row oids as "foreign keys" in other tables ?  (Matt McClure <matthew.mcclure@yale.edu>)
Ответы Re: [GENERAL] row oids as "foreign keys" in other tables ?  (Matt McClure <matthew.mcclure@yale.edu>)
Список pgsql-general
Matt McClure wrote:
>
> You say that vacuum "re-writes" the database.  Does it alter row oids???
                                                 ^^^^^^^^^^^^^^^^^^^^^^
No.

> If so, my scheme completely corrupts my database whenever I do a vacuum,
> since in concert and song the row oids would change, but my inserted
> values would remain the same in concert_song, right?
>
> If vacuum does not alter row oids, then I have another question.  How does
> postgres re-use oids?  I've seen the numbers grow and grow, but despite
  ^^^^^^^^^^^^^^^^^^^^
It doesn't.

> deletes, etc, I have never seen a lower oid get re-used.  How does this
> work?

Vadim

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

Предыдущее
От: Wilson MacGyver
Дата:
Сообщение: Re: [GENERAL] Postgres vs commercial products
Следующее
От: "Ounnapirak, Chotiwat"
Дата:
Сообщение: Postgres & Commercial