From: | Kip Warner <kip(at)thevertigo(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Sándor Daku <daku(dot)sandor(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Help with CREATE FUNCTION |
Date: | 2016-04-18 18:22:29 |
Message-ID: | 1461003749.4911.63.camel@thevertigo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Mon, 2016-04-18 at 14:19 -0400, Tom Lane wrote:
> If they might change later, they're not really constants, hm? The
> usual advice for this sort of thing is to store them in a table.
They're variable only in the sense that they could vary after many
months, but constant enough that treating them as such allows us the
potential benefit of optimization.
--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Kip Warner | 2016-04-18 18:24:00 | Re: Help with CREATE FUNCTION |
Previous Message | Tom Lane | 2016-04-18 18:19:37 | Re: Help with CREATE FUNCTION |