Re: turn off auto index for foreign key

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Tommy Cheng" <csckcac(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: turn off auto index for foreign key
Date: 2008-06-10 03:50:03
Message-ID: dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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 Tommy Cheng 2008-06-10 04:17:24 Re: turn off auto index for foreign key
Previous Message Tommy Cheng 2008-06-10 02:48:08 turn off auto index for foreign key