Re: Broken PL/PgSQL for 7.0 beta 3? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Broken PL/PgSQL for 7.0 beta 3?
Date
Msg-id 4776.954810600@sss.pgh.pa.us
Whole thread Raw
In response to Broken PL/PgSQL for 7.0 beta 3?  (Eric Lee Green <pgsql-hackers@estinc.com>)
List pgsql-hackers
Eric Lee Green <pgsql-hackers@estinc.com> writes:
> The following code works under 6.5 and doesn't work in 7.0 beta 3. Comments?

Please define "doesn't work".  I get (starting with a virgin paths table)

tpc=# select get_path('/etc');get_path
----------       1
(1 row)

tpc=# select get_path('/etc');get_path
----------       1
(1 row)

tpc=# select get_path('/etcz');get_path
----------       2
(1 row)

tpc=# select get_path('/etcz');get_path
----------       2
(1 row)

tpc=# select get_path('/etc');get_path
----------       1
(1 row)

which seems to be the intended behavior.

It might help to know what platform/compiler you are using, too.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Broken PL/PgSQL for 7.0 beta 3?
Next
From: Tom Lane
Date:
Subject: Re: Problem with view