RE: [GENERAL] [Q] Examples of using OIDs

Поиск
Список
Период
Сортировка
От Evan Howarth
Тема RE: [GENERAL] [Q] Examples of using OIDs
Дата
Msg-id 1155F985F268D211B25700A0C9E1C7610818D4@MAIL
обсуждение исходный текст
Список pgsql-general
This will return all columns including the OID:
    select oid,* from my_table

To index the OID column:
    create index my_table_oid on my_table( oid )

Other tables can reference the OID column:
    create table another_table (
        ...
        my_table_ref    oid not null,
        ..
    )

Because PostreSQL ignores the "foreign key" keywords,
you have to maintain referential integrity yourself.

Evan Howarth

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

Предыдущее
От: Al Dev
Дата:
Сообщение: Move PostgreSQL 6.4.2 RedHat RPM packages to proper locations
Следующее
От: "Juan Rufino Cuervo Soto"
Дата:
Сообщение: Questions