|From:||Mathijs Brands <mathijs(at)ilse(dot)nl>|
|To:||Drew Whittle <drew(at)albatross(dot)co(dot)nz>|
|Subject:||Re: [SQL] System Attribute|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On Tue, Dec 14, 1999 at 01:14:14PM +1300, Drew Whittle allegedly wrote:
> We have an online order system that I am trying to convert to use postgres
> and I noticed a problem with the creation of the DB.
> One of the tables has a field called 'oid', which is fine under lots of
> other DB's but postgres doesn't like it. I am in the process of renaming
> this field so things will work but I am curious what the error actually means:
> ERROR: create: system attribute named "oid"
Every record in a table has a unique OID value. So if you were to insert the
same value twice, you would be able to keep them apart using the OID value.
Since PostgreSQL uses the oid field internally, you cannot use it.
I hope this helps.
|Next Message||neko||1999-12-14 01:13:12||Re: [SQL] How do I get column names?|
|Previous Message||Drew Whittle||1999-12-14 00:14:14||System Attribute|