From: Marek Lewczuk <newsy@lewczuk.com>
To: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
Cc: PostgreSQL Administrators Mailing List <pgsql-admin@postgresql.org>
Subject: Re: Removing OIDs
Date: Tue, 03 Feb 2004 14:06:41 +0100
Message-ID: <401F9CE1.5020604@lewczuk.com> (raw)
In-Reply-To: <Pine.LNX.4.50.0402031152460.32086-100000@short.lancs.ac.uk>
References: <Pine.LNX.4.50.0402031152460.32086-100000@short.lancs.ac.uk>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: newsy@lewczuk.com, s.barnett-cormack@lancaster.ac.uk
Subject: Re: Removing OIDs
In-Reply-To: <401F9CE1.5020604@lewczuk.com>
References: <Pine.LNX.4.50.0402031152460.32086-100000@short.lancs.ac.uk> <401F9CE1.5020604@lewczuk.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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