Re: [GENERAL] Update existing system explicit cast to make it implicit

2011-01-31 Thread asia123321
"Tom Lane" napisał(a): > asia123...@op.pl writes: > > I am trying to use bit(1) datatype with existing application that used int > > datatype before. > > So I tried to create implicit cast that will allow me not to make code > > modifications and wanted to create implicit cast "int2bit", but it

Re: [GENERAL] Update existing system explicit cast to make it implicit

2011-01-31 Thread asia123321
"Tom Lane" napisał(a): > asia123...@op.pl writes: > > I am trying to use bit(1) datatype with existing application that used int > > datatype before. > > So I tried to create implicit cast that will allow me not to make code > > modifications and wanted to create implicit cast "int2bit", b

Re: [GENERAL] Update existing system explicit cast to make it implicit

2011-01-31 Thread Tom Lane
asia123...@op.pl writes: > I am trying to use bit(1) datatype with existing application that used int > datatype before. > So I tried to create implicit cast that will allow me not to make code > modifications and wanted to create implicit cast "int2bit", but it turned out > that there is alread

[GENERAL] Update existing system explicit cast to make it implicit

2011-01-31 Thread asia123321
Hi, I am trying to use bit(1) datatype with existing application that used int datatype before. So I tried to create implicit cast that will allow me not to make code modifications and wanted to create implicit cast "int2bit", but it turned out that there is already system cast. Unfortunately t