[GENERAL] How can I change a cast from explicit only to implicit?

2004-11-25 Thread Julian Scarfe
In 7.2.x template1=# select point('1'::text, '2'::text); point --- (1,2) (1 row) but in 7.4.x template1=# select point('1'::text, '2'::text); ERROR: function point(text, text) does not exist HINT: No function matches the given name and argument types. You may need to add explicit type ca

Re: [GENERAL] How can I change a cast from explicit only to implicit?

2004-11-25 Thread Julian Scarfe
From: "Tom Lane" <[EMAIL PROTECTED]> > > So how can I force a built-in cast to become implicit? > > If you're intent on doing that, you can change its entry in pg_cast. > But I think you'd be far better off to fix your application. Implicit > casts across type categories have a habit of kicking i