Sorry, but is not important, i forgot to remove original table name
"chunk_ad", but is not affected to the bug..
2009/1/21 Oleg Serov :
> Here is an example:
>
> CREATE TABLE test2 (
>id BIGINT,
>chunk_id BIGINT
> );
> CREATE TABLE test1 (
>id BIGINT
> );
>
> CREATE OR REP
Here is an example:
CREATE TABLE test2 (
id BIGINT,
chunk_id BIGINT
);
CREATE TABLE test1 (
id BIGINT
);
CREATE OR REPLACE FUNCTION "bug" () RETURNS pg_catalog.void AS
$body$
DECLARE
row_test1 test1%rowtype;
row_test2 test2%rowtype;
BEGIN
SELECT test1, chunk_ad