Inherit or Foreign Keys - Mailing list pgsql-general

From Ben-Nes Michael
Subject Inherit or Foreign Keys
Date
Msg-id 000701c1de4d$d1eb6e80$aa0f5ac2@canaan.co.il
Whole thread Raw
Responses Re: Inherit or Foreign Keys
List pgsql-general
Hi All

I want to make a site that's contain articles in multi language. ( The same
article can be seen for example in English, French .... )

I thought of two ways.

1. using Foreign keys.
main tables containing the fields which are not seen like id, settings .....
second table with foreign key to the main ID & field saying the language
name and all the others fields are the translations.

2. using inherit
main tables containing the fields which are not seen like id, settings .....
Second table called as the language name that will inherit the main one with
all the translated fields as title, author ....

Which method looks better for the list ?
Speed is important too :)

--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
http://sites.canaan.co.il
--------------------------



pgsql-general by date:

Previous
From: Frank Joerdens
Date:
Subject: Re: Who's using PostgreSQL?
Next
From: Stephan Szabo
Date:
Subject: Re: retun cursor