Issue with insert

From: Michael Gould <mgould(at)intermodalsoftwaresolutions(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Issue with insert
Date: 2010-02-27 17:14:39
Message-ID: 74435938e3b6c5a8e9c6f9d5d8bc9f4d@intermodalsoftwaresolutions.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I'm having a issue with a insert

INSERT INTO
iss.citystateinfo
(
citystateinfoid,
citystate,
zipcode,
cityname,
statecode
)
VALUES (
'31344342-3439-4135-2d32-3044462d3433',
'Orange Park,FL',
'32065',
'Orange Park',
'FL'
);

This inserts correctly, however when I view the data the citystate is always
displayed as

Orange Park (FL). Every row is displayed the same. I've used PGAdmin to
look at the data, EMS for PostGres and have exported the data to Excel and
they all display the data incorrectly. This is a issue for us because we
want the user to type in either the zipcode if known to bring back the city
and state, or the city,state to bring back the zipcode.

Any idea's on why this could be happening. I'm running on Windows 7 x64
using 8.4.2

Best Regards
--
Michael Gould, Managing Partner
Intermodal Software Solutions, LLC
904.226.0978
904.592.5250 fax

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Scott Marlowe 2010-02-27 17:50:38 Re: Issue with insert
Previous Message Tom Lane 2010-02-27 03:32:03 Re: Date comparison, user defined operators and magic