pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Luis Mix <ksql2002@yahoo.com.mx>
Cc: pgsql-sql@postgresql.org, Achilleus Mantzios <achill@matrix.gatewaynet.com>
Subject: Re: How can I quit this: "Unique " to my table? more info...
Date: 01 Apr 2003 13:33:58 -0500
Message-ID: <1049222038.35327.95.camel@jester> (raw)
In-Reply-To: <793515575.20030401121712@yahoo.com.mx>
References: <793515575.20030401121712@yahoo.com.mx>

On Tue, 2003-04-01 at 13:17, Luis Mix wrote:
> Hello pgsql-sql,
> 
> I tried with both, but I obtain the follow Error.
> 
> ____________________
> >> drop index b_prestamo_no_inventa_idx;
> 
> ALTER TABLE b_prestamo drop index b_prestamo_no_inventa_idx;
> 
> ERROR:  parser: parse error at or near "b_prestamo1_no_inventa_idx"

Drop the ALTER TABLE <table>

Just do:
DROP INDEX ...

> --------------------
> 
> > ALTER TABLE b_prestamo DROP CONSTRAINT b_prestamo_no_inventa_key;

This is 7.3 syntax.


-- 
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (2+ messages)

Message-ID: <1049222038.35327.95.camel@jester>
Permalink:  ../1049222038.35327.95.camel@jester/
Also on:    postgresql.org/message-id/1049222038.35327.95.camel@jester

 · 

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: rbt@rbt.ca, ksql2002@yahoo.com.mx, achill@matrix.gatewaynet.com
  Subject: Re: How can I quit this: "Unique " to my table? more info...
  In-Reply-To: <1049222038.35327.95.camel@jester>

* 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