Re: turn off auto index for foreign key

From: "Tommy Cheng" <csckcac(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: turn off auto index for foreign key
Date: 2008-06-10 04:17:24
Message-ID: 2267dd9e0806092117sda112dt8ac2f2ba8ed5e66f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(dot)marlowe(at)gmail(dot)com>
wrote:

> On Mon, Jun 9, 2008 at 8:48 PM, Tommy Cheng <csckcac(at)gmail(dot)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)
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alex Hunsaker 2008-06-10 04:58:15 Re: turn off auto index for foreign key
Previous Message Scott Marlowe 2008-06-10 03:50:03 Re: turn off auto index for foreign key