Re: Client-requested cast mode to emulate Pg8.2 on v8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Langhoff <martin(at)catalyst(dot)net(dot)nz>
Cc: pgsql-general(at)postgresql(dot)org, moodledev(at)catalyst(dot)net(dot)nz
Subject: Re: Client-requested cast mode to emulate Pg8.2 on v8.3
Date: 2007-11-14 04:58:57
Message-ID: 13850.1195016337@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin Langhoff <martin(at)catalyst(dot)net(dot)nz> writes:
> I say they are worrying because Moodle code has many ocurrences of
> /* bla.id is an INT8 */
> SELECT x,y,z FROM bla WHERE id='1';
> And we also often quote INT values for inserts/updates, I am not sure if
> this is supported either.

This is not a problem. Read up on unknown-type literals --- that
behavior isn't changing. The cases that we are tightening up on
involve values that are of *known* non-string data types being used
in situations where logically only a string should appear.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-11-14 05:37:26 Re: [HACKERS] plperl and regexps with accented characters - incompatible?
Previous Message Willem Buitendyk 2007-11-14 04:50:36 Bulk Load Ignore/Skip Feature