do child tables inherit indexes?

From: <floyds(at)4peakstech(dot)com>
To: "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Subject: do child tables inherit indexes?
Date: 2003-09-09 18:02:29
Message-ID: NDBBKEGJICMIMJHJEBCOAEKDGOAA.floyds@4peakstech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


do child tables inherit the indexes declared for a parent table? or do i
need to redeclare the index on each child table?

for example:

create table fee ( fie text );
create index fee_index on fee ( fie );

create table foe ( fum text ) inherits foo;
create index foe_index on foe ( fie ); -- do i need to do this?

Regards,

Floyd Shackelford
4 Peaks Technology Group, Inc.
VOICE: 334.735.9428
FAX: 702.995.6462
EMAIL: FloydS(at)4PeaksTech(dot)com
ICQ #: 161371538
PGP Key ID: 0x2E84F2F2
PGP Fone available on request at private.fwshackelford.com

Shackelford Motto: ACTA NON VERBA - Actions, not words

Alabama State Motto: AUDEMUS JURA NOSTRA DEFENDERE - We Dare Defend Our
Rights

The Philosophy of Liberty: http://www.isil.org/resources/introduction.swf

"We have allowed our constitutional republic to deteriorate into a virtually
unchecked direct democracy. Today's political process is nothing more than a
street fight between various groups seeking to vote themselves other
people's money. Individual voters tend to support the candidate that
promises them the most federal loot in whatever form, rather than the
candidate who will uphold the rule of law." --Rep. Ron Paul

Responses

Browse pgsql-general by date

  From Date Subject
Next Message listy.mailowe 2003-09-09 18:10:07 Re: Picture with Postgres and Delphi
Previous Message snpe 2003-09-09 17:32:58 Oracle and regular expressions ???