> ALTER TABLE .. SET WITHOUT OIDS;
Cheers,
Neil
--
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
Cheers,
Neil
--
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
So I lean towards the SET WITH/WITHOUT OIDS syntax. That keeps it
clearly out of the domain of user columns.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
Is there really a reason why OIDs can't be a pure user-space column?Quote:Tom Lane writes:
> If we ever got around to supporting the inverse function (add oids),
> I do not think we'd want to spell it like "ADD COLUMN oid" --- that
> would interfere with making a plain user column named "oid", which was
> one of the reasons why people wanted to be able to drop OIDs in the
> first place.
--
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Chris
> What is the preferred syntax:
> ALTER TABLE .. DROP COLUMN oid;
> or
> ALTER TABLE .. SET WITHOUT OIDS;
> --
> PGP Key: http://www.rbt.ca/rbtpub.asc
Hi!
I'd like to know why the field Oid can't be used as a foreign key. And
more information about the type oidvector. What is
it??????????????????? I can't find information about it anywhere.
I'm asking these questions because i wanted to use the oid field as
primary key of may tables, and relate them using the oid too. I i
wanted to use the oidvector for this kind of things too.
help!
Thankx,
Camila
Goiania/GO/Brazil
3. OID Install Problem, OID does not start through 9iAS
4. SQL 7.0 -> Intersolv OLE DB 2.0 problem
5. 7.3 and HEAD broken for dropped columns of dropped types
6. Trying to link my esqlc program. Help, please!
7. Query to fetch all lo and oid tables/columns in a database
8. Crystal Report??? Parameter Query...
9. Drop a column and add a new column
10. could not drop column MyColumn from table MyTable Error 207: Invalid Column Name
11. Problem with DROP COLUMN and ALTER COLUMN
12. How to change a column's type/How to drop a column