pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo De León <rdeleonp@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: insert statement woes
Date: Fri, 22 Jun 2007 16:03:11 -0000
Message-ID: <1182528191.769825.63870@p77g2000hsh.googlegroups.com> (raw)
In-Reply-To: <1182500715.382199.200730@n2g2000hse.googlegroups.com>
References: <1182500715.382199.200730@n2g2000hse.googlegroups.com>

On Jun 22, 3:25 am, earthwormgaz <earthworm...@googlemail.com> wrote:
> hello, i'm trying to do a simple (so i thought) sql insert operation,
> but i'm being told the insert violates unique constraint
> say i've got three columns, two text and one integer for the id, i'm
> doing the following
> INSERT INTO myTable (text1, text2) VALUES ('some text', 'some more
> text');
> so i'm not trying to enter anything into the key column, i thought a
> unique one should be generated for me?

DDL please...




Message-ID: <1182528191.769825.63870@p77g2000hsh.googlegroups.com>
Permalink:  ../1182528191.769825.63870@p77g2000hsh.googlegroups.com/
Also on:    postgresql.org/message-id/1182528191.769825.63870@p77g2000hsh.googlegroups.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: rdeleonp@gmail.com
  Subject: Re: insert statement woes
  In-Reply-To: <1182528191.769825.63870@p77g2000hsh.googlegroups.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