Обсуждение: Oid bug or feature?

Поиск
Список
Период
Сортировка

Oid bug or feature?

От
"Maurice Gittens"
Дата:
Hi,

Do the following:

<PSQL SESSION>
create table t (name text);
CREATE

insert int t (oid, name) values (13, 'n1');
INSERT 18409 1;

Select * from t where oid =13;
name
-------
(0 rows)

</PGSQL SESSION>

Is this correct?
I would have expected that it wouldn't be allowed to set the value of an
oid.
Fortunately this doesn't happen. However I don't get an error message
either.

Is this what it's supposed to be?

Thanks,
Maurice