pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Haddon <tom@betterhealthfoundation.org>
To: pgsql-sql@postgresql.org
Subject: Re: Add Primary Key to a Table
Date: Fri, 2 Aug 2002 16:19:51 -0700
Message-ID: <200208021619.51272.josh@agliodbs.com> (raw)
In-Reply-To: <NEBBIHDGCLBEJMPFAMLACELLCHAA.tom@betterhealthfoundation.org>
References: <NEBBIHDGCLBEJMPFAMLACELLCHAA.tom@betterhealthfoundation.org>


Tom,

> ALTER TABLE "agency_contact_info" ADD CONSTRAINT "agency_contact_info_pkey"
> PRIMARY KEY ("id");
> 
> I get a message saying "ALTER TABLE / ADD CONSTRAINT not implemented for
> that constraint type". Is this a bug, or am I doing something wrong?

What version are you using?  That command is supported with Postgres 7.2, but 
not with earlier versions.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (3+ messages)  latest in thread

Message-ID: <200208021619.51272.josh@agliodbs.com>
Permalink:  ../200208021619.51272.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200208021619.51272.josh@agliodbs.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-sql@postgresql.org
  Cc: josh@agliodbs.com, tom@betterhealthfoundation.org
  Subject: Re: Add Primary Key to a Table
  In-Reply-To: <200208021619.51272.josh@agliodbs.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