Re: how to insert row with specific oid

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to insert row with specific oid
Дата
Msg-id 1647744.1592576042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how to insert row with specific oid  (ZongtianHou <zongtianhou@icloud.com>)
Ответы how to conveniently upgrade with specific catalog change  (ZongtianHou <zongtianhou@icloud.com>)
Список pgsql-admin
ZongtianHou <zongtianhou@icloud.com> writes:
> Could I insert a row to table with specific row oid. just like insert into tbl values (xx,xx) oid=xx? Is there some
syntaxto do this? 

Nope, at least not in PG versions that have special oid columns at all.
(Since v12, if you want an OID column, it's just a regular column.)

            regards, tom lane



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: create batch script to import into postgres tables
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: create batch script to import into postgres tables