Re: Indexes in PL/SQL - Mailing list pgsql-novice

From Tony Holmes
Subject Re: Indexes in PL/SQL
Date
Msg-id 20030530113035.A32391@crosswinds.net
Whole thread Raw
In response to Re: Indexes in PL/SQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On +May 30, Tom Lane wrote:
>
>     SELECT uid INTO _uid FROM user_main WHERE username = _user::varchar;
>
> 7.4 will be more forgiving about text-versus-varchar discrepancies, but
> you can still get burnt by this problem on most other cross-datatype
> cases --- including char(n) versus varchar(n).  Integer versus bigint
> is another common gotcha for newbies.

Thanks! Got me and that fixed it.

--
Tony Holmes

Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Indexes in PL/SQL
Next
From: Josh Berkus
Date:
Subject: Re: PHP vs Cold Fusion vs Zope