Re: Version Number Function?

From: "Robert Haas" <robertmhaas(at)gmail(dot)com>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: "Hannu Krosing" <hannu(at)2ndquadrant(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Version Number Function?
Date: 2008-10-14 19:41:39
Message-ID: 603c8f070810141241l7a26fef7p2b2864f20c229aea@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> There must be a way to get string_to_array() to evaluate only once, yes?

WITH, but that's not going to help you for backward compatibility.

If you used plpgsql you could assign the string_to_array result to a
variable and then work off the variable, but I'm not sure that's
really better.

...Robert

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-14 19:49:49 Re: Improving planner variable handling
Previous Message Alvaro Herrera 2008-10-14 19:36:03 spoonbill is failing citext test