Re: [HACKERS] Cast and Schemas don't work as expected

2003-01-23 Thread Tom Lane
"Eduardo Stern" <[EMAIL PROTECTED]> writes: > The CREATE CAST command is't supporting schemas on the type parameters. Yah. Are you enough of a yacc wizard to fix the reduce/reduce conflicts that arise when GenericType is made to include qualified names? I spent a couple days beating on that, wit

Re: [HACKERS] Cast and Schemas don't work as expected

2003-01-23 Thread Christopher Kings-Lynne
That's probably because CASTS are database-wide and are not in schemas. Chris > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Eduardo Stern > Sent: Sunday, 19 January 2003 11:07 PM > To: [EMAIL PROTECTED] > Subject: [HACKERS]

[HACKERS] Cast and Schemas don't work as expected

2003-01-23 Thread Eduardo Stern
The CREATE CAST command is't supporting schemas on the type parameters. A query such as: CREATE CAST (public.lo AS oid) WITH FUNCTION newoid (public.lo) AS IMPLICIT; Gives an error. And the problem happens when you create a CAST without the schema notation, and then try to do a dump/restore cycl