"Andrey G." writes:
> CREATE FUNCTION Bug_5757_test()
> RETURNS VOID
> AS $$
> DECLARE
> v_comp CompositeType;
> BEGIN
> IF v_comp.non_existing_field THEN
> NULL;
> END IF;
> END;
> $$
> LANGUAGE plpgsql;
OK, I did something about that. Thanks for the report!
No problem, please find a simple test case with its execution result below:
--
START TRANSACTION;
CREATE TYPE CompositeType AS (
existing_field TEXT
);
--
CREATE FUNCTION Bug_5757_test()
RETURNS VOID
AS $$
DECLA
"Andrey Galkin" writes:
> The following bug has been logged online:
> Bug reference: 5757
> Logged by: Andrey Galkin
> Email address: andv...@gmail.com
> PostgreSQL version: 9.0.1
> Operating system: Debian unstable
> Description:PL/PGSQL composite variable field erro
The following bug has been logged online:
Bug reference: 5757
Logged by: Andrey Galkin
Email address: andv...@gmail.com
PostgreSQL version: 9.0.1
Operating system: Debian unstable
Description:PL/PGSQL composite variable field error reporting
Details:
1. Create a var