Re: BUG #5314: Error in nested composite types in plpgsql. - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #5314: Error in nested composite types in plpgsql.
Date
Msg-id 603c8f071002111021s657fcbd0y2e48e606ecb1c54f@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5314: Error in nested composite types in plpgsql.  (Oleg Serov <serovov@gmail.com>)
Responses Re: BUG #5314: Error in nested composite types in plpgsql.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
2010/2/10 Oleg Serov <serovov@gmail.com>:
> Somebody will fix this bug or not?

I'm not sure whether this is a bug.  This is an explicit cast:

SELECT '(1,)'::bug_level_one;

But I think this is an implicit cast:

SELECT bug_procedure('(1,)');

I'm not totally sure of the details, but implicit, assignment, and
explicit casts are documented to have different semantics:

http://www.postgresql.org/docs/current/static/sql-createcast.html

...Robert

pgsql-bugs by date:

Previous
From: Eric Pailleau
Date:
Subject: Re: BUG #5322: Time to perform vacuums
Next
From: "Dave Olszewski"
Date:
Subject: BUG #5323: plperl and plperlu interaction segfaults