Skip site navigation (1) Skip section navigation (2)

Re: Broken PL/PgSQL for 7.0 beta 3?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eric(at)estinc(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Broken PL/PgSQL for 7.0 beta 3?
Date: 2000-04-04 01:10:00
Message-ID: 4776.954810600@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Eric Lee Green <pgsql-hackers(at)estinc(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-04-04 01:27:19
Subject: Re: Problem with view
Previous:From: Thomas LockhartDate: 2000-04-04 01:08:58
Subject: Re: Broken PL/PgSQL for 7.0 beta 3?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group