Re: BUG #5598: Compatibility modes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Shine <shine(dot)prakash(at)icasework(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5598: Compatibility modes
Date: 2010-08-04 17:06:27
Message-ID: 21793.1280941587@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alex Hunsaker <badalex(at)gmail(dot)com> writes:
> On Wed, Aug 4, 2010 at 10:42, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> On Wed, Aug 4, 2010 at 10:53 AM, Shine <shine(dot)prakash(at)icasework(dot)com> wrote:
>>> We would like to know if there is a workaround built into postgres by
>>> setting some kind of COMPATIBILITY variable (similar to SQL SERVER 2005 /
>>> 2008)...
>>
>> Sorry, there is no such mode...

> However, you can add them back if you must:
> http://petereisentraut.blogspot.com/2008/03/readding-implicit-casts-in-postgresql.html

Note that that hack actually does not work very well: it has unpleasant
side effects. You'd be far better advised to fix your application.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2010-08-04 18:06:14 Re: string_agg delimiter having no effect with order by
Previous Message Tom Lane 2010-08-04 17:04:46 Re: string_agg delimiter having no effect with order by