Re: BUG #5314: Error in nested composite types in plpgsql.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Oleg Serov <serovov(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5314: Error in nested composite types in plpgsql.
Date: 2010-02-11 18:21:08
Message-ID: 603c8f071002111021s657fcbd0y2e48e606ecb1c54f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

2010/2/10 Oleg Serov <serovov(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Olszewski 2010-02-11 18:44:03 BUG #5323: plperl and plperlu interaction segfaults
Previous Message Karl Denninger 2010-02-11 17:38:42 Re: [GENERAL] [HACKERS] Bug on pg_lesslog