Re: Indexes in PL/SQL

Поиск
Список
Период
Сортировка
От Tony Holmes
Тема Re: Indexes in PL/SQL
Дата
Msg-id 20030530113035.A32391@crosswinds.net
обсуждение исходный текст
Ответ на Re: Indexes in PL/SQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Indexes in PL/SQL
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: PHP vs Cold Fusion vs Zope