Re: BUG #5598: Compatibility modes - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5598: Compatibility modes
Date
Msg-id 21793.1280941587@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5598: Compatibility modes  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-bugs
Alex Hunsaker <badalex@gmail.com> writes:
> On Wed, Aug 4, 2010 at 10:42, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Wed, Aug 4, 2010 at 10:53 AM, Shine <shine.prakash@icasework.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: string_agg delimiter having no effect with order by
Next
From: Robert Haas
Date:
Subject: Re: string_agg delimiter having no effect with order by