Received: from h00a0cc5ae7d3.ne.mediaone.net (IDENT:root@h00a0cc5ae7d3.ne.mediaone.net [24.128.237.196]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA65715 for ; Fri, 28 Jan 2000 11:39:40 -0500 (EST) (envelope-from rfagundo@npv.com) Received: from pc-rubenf ([192.168.1.11]) by h00a0cc5ae7d3.ne.mediaone.net (8.9.3/8.9.3) with SMTP id LAA01927; Fri, 28 Jan 2000 11:39:55 -0500 Message-Id: <4.1.20000128113419.00abd970@24.128.29.181> X-Sender: rubenf@24.128.29.181 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Fri, 28 Jan 2000 11:38:49 -0500 To: pgsql-admin@postgreSQL.org From: Ruben Fagundo Subject: Fwd: Re: fun with postgresql Cc: Art Spaziano , dlsilvia@mediaone.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Does anyone have any idea why this happened ? I'm having trouble with postgresql. My script tries to do this: my $sql = "insert into people (firstName, lastName, Email) values ($V{'firstname'}, $V{'lastname'}, $V{'MAILTO'})"; but it gets the error: DBD::Pg::st execute failed: ERROR: Attribute don not found . 'don' is the firstName value that I'm trying to insert. Even in psql I get similar weirdness: postgres=> select firstName, lastName, Email from people \g ERROR: attribute 'firstname' not found postgres=> select firstName from people \g ERROR: attribute 'firstname' not found postgres=> select Email from people \g ERROR: attribute 'email' not found But 'select * from people' works. What am I missing? Is there a case-sensitivity issue? I'm using the case for the field names that I see with a '\d people' There are some strange things happening. In the past, I also updated a table, but didn't see the changes until the postgres was restarted. It seems like some things were coming from a cache that had not gotten refreshed. Anyone see any of these weird things before ? Ruben ================================== Ruben Fagundo T:617/244-6136 F:603/452-3220