| From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
|---|---|
| To: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd |
| Date: | 2004-10-02 20:04:51 |
| Message-ID: | 20041002200451.GA14830@wolff.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-novice pgsql-sql |
On Sat, Oct 02, 2004 at 10:43:01 +0200,
Gaetano Mendola <mendola(at)bigfoot(dot)com> wrote:
> Tom Lane wrote:
> >I wrote:
> >Do you see any other mislabelings?
>
> I don't but I think that the concept of immutable shall be expanded.
> I mean I can use safely a date_trunc immutable in a query ( I think this
> is a sort of "immutable per statement" ) but not in a index definition
> ( the index mantainance is affected by the current timezonesettings ).
> So may be another modifier shall be introduced that reflect the "immutable
> per statement"
There has been such a distinction for a major release or two. "Stable"
is how you mark a function that will return the same value within a
single transaction.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-10-02 23:23:27 | Re: AIX and V8 beta 3 |
| Previous Message | Dave Page | 2004-10-02 19:54:43 | Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd timestamp index possible?) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vitaly Belman | 2004-10-02 21:59:00 | Writing plpgsql not in a function (directly from plsql)? |
| Previous Message | Tom Lane | 2004-10-02 18:22:50 | Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd timestamp index possible?) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruno Wolff III | 2004-10-03 01:16:41 | Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd |
| Previous Message | Tom Lane | 2004-10-02 18:22:50 | Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd timestamp index possible?) |