| From: | Job <Job(at)colliniconsulting(dot)it> |
|---|---|
| To: | 'Alban Hertroys' <haramrae(at)gmail(dot)com>, Job <Job(at)colliniconsulting(dot)it> |
| Cc: | Francisco Olarte <folarte(at)peoplecall(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | R: Special index for "like"-based query |
| Date: | 2016-12-30 12:13:50 |
| Message-ID: | 88EF58F000EC4B4684700C2AA3A73D7A08054EACC1A8@W2008DC01.ColliniConsulting.lan |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Dear Alban,
Regarding:
>>... AND timestamp BETWEEN '2016-12-27 00:00:00'::timestamp with time zone AND '2016-12-30 23:59:59'::timestamp with time zone ...
I think it is a very good approach, and i would like to try.
My table has got two different field for "starting" and "ending" timestamp values.
Shall i create an index together with the two field (starting and ending) with the "tsrange" statement?
Thank you again!
/F
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Job | 2016-12-30 12:49:58 | R: Special index for "like"-based query |
| Previous Message | Alban Hertroys | 2016-12-30 12:01:57 | Re: Special index for "like"-based query |