pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Tommy Cheng <csckcac@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: turn off auto index for foreign key
Date: Mon, 9 Jun 2008 21:50:03 -0600
Message-ID: <dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com> (raw)
In-Reply-To: <2267dd9e0806091948k24a46cegcd45e65a5aa632ed@mail.gmail.com>
References: <2267dd9e0806091948k24a46cegcd45e65a5aa632ed@mail.gmail.com>

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)



view thread (5+ messages)  latest in thread

Message-ID: <dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com>
Permalink:  ../dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10806092050y3f41ef00j95390d335e4d11c0@mail.gmail.com

 · 

reply

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: scott.marlowe@gmail.com, csckcac@gmail.com
  Subject: Re: turn off auto index for foreign key
  In-Reply-To: <dcc563d10806092050y3f41ef00j95390d335e4d11c0@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