pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dedy <slackman@unika.ac.id>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: faster or ..... ????
Date: Thu, 06 Oct 2005 11:54:40 +0700
Message-ID: <20051006045440.18119.qmail@mail.unika.ac.id> (raw)

Hii all,
I eould like to asking about creating table in postgres
here is the
1> can postgres do such things like this one?
  # create table address as object(address varchar(100), post(6));
  # create table id (id integer not null primary key,
                     name char(100),address); 

now i will
compare with this one >>
# create table id (id integer not null primary key, name char(100));
# create table address (id integer not null references id,
                       address varchar(100), post(6)); 

which is most faster??? 

Thank you very much for all your kind to answer my question
and my english is so bad isn't? 

Dedy Styawan
Semarang



view thread (3+ messages)  latest in thread

Message-ID: <20051006045440.18119.qmail@mail.unika.ac.id>
Permalink:  ../20051006045440.18119.qmail@mail.unika.ac.id/
Also on:    postgresql.org/message-id/20051006045440.18119.qmail@mail.unika.ac.id

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: slackman@unika.ac.id
  Subject: Re: faster or ..... ????
  In-Reply-To: <20051006045440.18119.qmail@mail.unika.ac.id>
  References: <20051006045440.18119.qmail@mail.unika.ac.id>

* 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