Skip site navigation (1) Skip section navigation (2)

Oid bug or feature?

From: "Maurice Gittens" <mgittens(at)gits(dot)nl>
To: "PostgreSQL-development" <hackers(at)postgreSQL(dot)org>
Subject: Oid bug or feature?
Date: 1998-03-01 12:11:03
Message-ID: 008f01bd450b$1b6fa3e0$fcf3b2c2@caleb..gits.nl (view raw or flat)
Thread:
Lists: pgsql-hackers
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



pgsql-hackers by date

Next:From: Tom I HelbekkmoDate: 1998-03-01 14:06:41
Subject: Re: [HACKERS] Just a couple minor nits...
Previous:From: Herouth MaozDate: 1998-03-01 10:25:30
Subject: Re: [QUESTIONS] Re: [HACKERS] Is "CREATE DOMAIN" in 6.3 ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group