pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mauricio <mbarrios@develop.com.br>
To: Xue-Feng Yang <just4look@yahoo.com>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: newbie questions
Date: Tue, 15 Oct 2002 10:22:47 -0300
Message-ID: <005f01c2744d$f44e6f40$3501a8c0@Azenha> (raw)
References: <20021015131317.97890.qmail@web20513.mail.yahoo.com>



RTFM.

www.postgresql.org -> your favorite mirror -> interactive
 documentation (http://www.postgresql.org/idocs/) -> SQL
 Commands (http://www.postgresql.org/idocs/index.php?sql-commands.html)
 -> ALTER TABLE (http://www.postgresql.org/idocs/index.php?sql-altertable.html)

It wasn't that hard. :-)

http://www.postgresql.org/idocs/index.php?sql-altertable.html


hugs & kisses,

   Mauricio


----- Original Message ----- 
From: "Xue-Feng Yang" <just4look@yahoo.com>
To: "Postgres Admin List" <pgsql-admin@postgresql.org>
Sent: Tuesday, October 15, 2002 10:13 AM
Subject: [ADMIN] newbie questions


> Are there the following SQL commands in psotgreSQL? 
> 
> ALTER TABLE CATALOGITEM_LNK ADD 
>   CONSTRAINT PK_CATALOGITEM_LNK PRIMARY KEY(catalogid,
> itemid);
> 
> ALTER TABLE CATALOGITEM_LNK ADD 
>   CONSTRAINT FK_CATALOGITEM_LNK_CATALOG FOREIGN KEY 
>   (catalogid) REFERENCES CATALOG(id);
> 
> 
> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 


view thread (2+ messages)

Message-ID: <005f01c2744d$f44e6f40$3501a8c0@Azenha>
Permalink:  ../005f01c2744d$f44e6f40$3501a8c0@Azenha/
Also on:    postgresql.org/message-id/005f01c2744d$f44e6f40$3501a8c0@Azenha

 · 

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: mbarrios@develop.com.br, just4look@yahoo.com
  Subject: Re: newbie questions
  In-Reply-To: <005f01c2744d$f44e6f40$3501a8c0@Azenha>
  References: <20021015131317.97890.qmail@web20513.mail.yahoo.com> <005f01c2744d$f44e6f40$3501a8c0@Azenha>

* 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