From: Tommy Cheng <csckcac@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: turn off auto index for foreign key
Date: Tue, 10 Jun 2008 12:17:24 +0800
Message-ID: <2267dd9e0806092117sda112dt8ac2f2ba8ed5e66f@mail.gmail.com> (raw)
In-Reply-To: <dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com>
References: <2267dd9e0806091948k24a46cegcd45e65a5aa632ed@mail.gmail.com>
<dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com>
you are right. I double checked. So, is there any way to turn off auto index
creation for the parent? (the best is changing postgresql database setting)
I am using postgres (PostgreSQL) 8.1.9 on CentOS 5 x86_64
On Tue, Jun 10, 2008 at 11:50 AM, Scott Marlowe <scott.marlowe@gmail.com>
wrote:
> On Mon, Jun 9, 2008 at 8:48 PM, Tommy Cheng <csckcac@gmail.com> wrote:
> > Hi admins,
> > I would like to turn off the auto index for child table's foreign key.
> It
> > is because i want to read the information_schema for table, column,
> index,
> > unique and so on after creating the database. How to turn off the auto
> > behavior? Or Is there a way to distinguish between auto one and user
> created
> > index?
>
> There is no auto index creation for child relationships, only for the
> parent (unique index for primary key etc)
>
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: csckcac@gmail.com
Subject: Re: turn off auto index for foreign key
In-Reply-To: <2267dd9e0806092117sda112dt8ac2f2ba8ed5e66f@mail.gmail.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