Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: BUG #3493: Cannot find data with = operator


  • From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
  • To: Michal Niklas <mn(at)heuthes(dot)pl>
  • Cc: pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: BUG #3493: Cannot find data with = operator
  • Date: Fri, 27 Jul 2007 06:35:49 -0400
  • Message-id: <20070727103549.GA3572@alvh.no-ip.org> <text/plain>

Michal Niklas wrote:

> isof_customer=# insert into customers (name) values ('KIOSK ');
> INSERT 437819002 1
> isof_customer=# select id,name from customers where name='KIOSK ';
>  id | name
> ---------------+------------------
> (0 rows)
> 
> isof_customer=# select id,name from customers where name like 'KIOSK ';
>  id | name
> ---------------+------------------
>         218856 | KIOSK
> (1 row)

What's the type of the name column?  Please be specific.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group