pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: eikenberg@golze.de
To: pgsql-bugs@postgresql.org
Subject: BUG #6328: Wrong error message for insert-sql
Date: Tue, 06 Dec 2011 15:08:55 +0000
Message-ID: <E1RXwdb-0007pb-Nq@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6328
Logged by:          Rigoletto Eikenberg
Email address:      eikenberg@golze.de
PostgreSQL version: 9.0.0
Operating system:   windows server 2008 R2
Description:        

The sql
   INSERT INTO auftragpos (orderno,position,item) VALUES
('testorder18',1,00123);
works fine,

but
   INSERT INTO auftragpos (orderno,position,item) VALUES
(testorder18,1,00123);
brings error:
FEHLER:  Spalte »testorder18« existiert nicht (Column »testorder18« not
exists)
LINE 1: ...T INTO auftragpos (orderno,position,item) VALUES (testorder1...

But »testorder18« is a value, not a column-name!?!?
If there is a problem it should bring a message that the value for column
"orderno" has the wrong format.

Regards
Rigoletto




view thread (2+ messages)  latest in thread

Message-ID: <E1RXwdb-0007pb-Nq@wrigleys.postgresql.org>
Permalink:  ../E1RXwdb-0007pb-Nq@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1RXwdb-0007pb-Nq@wrigleys.postgresql.org

 · 

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-bugs@postgresql.org
  Cc: eikenberg@golze.de
  Subject: Re: BUG #6328: Wrong error message for insert-sql
  In-Reply-To: <E1RXwdb-0007pb-Nq@wrigleys.postgresql.org>
  References: <E1RXwdb-0007pb-Nq@wrigleys.postgresql.org>

* 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