pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Removing OIDs
2+ messages / 2 participants
[nested] [flat]

* Removing OIDs
@ 2004-02-03 11:55  Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Sam Barnett-Cormack @ 2004-02-03 11:55 UTC (permalink / raw)
  To: pgsql-admin

Is there any way to remove OIDs from an existing table, or even a whole
database? I never use the damn things and my database is big, so I'd
like to do anything I can to shrink it.

Also, are there any performance implications to this?

I'm currently using 7.3.4, but will shortly be moving to 7.4

-- 

Sam Barnett-Cormack
Software Developer                           |  Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Removing OIDs
@ 2004-02-03 13:06  Marek Lewczuk <newsy@lewczuk.com>
  parent: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Marek Lewczuk @ 2004-02-03 13:06 UTC (permalink / raw)
  To: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>; +Cc: pgsql-admin

Sam Barnett-Cormack wrote:

> Is there any way to remove OIDs from an existing table, or even a whole
> database? I never use the damn things and my database is big, so I'd
> like to do anything I can to shrink it.
> 
> Also, are there any performance implications to this?
> 
> I'm currently using 7.3.4, but will shortly be moving to 7.4
> 

ALTER TABLE [ ONLY ] name [ * ] SET WITHOUT OIDS

ML.

 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-02-03 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-03 11:55 Removing OIDs Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
2004-02-03 13:06 ` Marek Lewczuk <newsy@lewczuk.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox