dbTalk Databases Forums  

indexing date and timestamp fields...

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss indexing date and timestamp fields... in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan T. Miller
 
Posts: n/a

Default indexing date and timestamp fields... - 01-17-2004 , 06:38 PM






Does it make any sence to index a date field? I am guessing that PostgreSQL
has already optimized these fields???

Thanks in advance,

Alan



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: indexing date and timestamp fields... - 01-17-2004 , 09:28 PM






"Alan T. Miller" <amiller (AT) hollywood101 (DOT) com> writes:
Quote:
Does it make any sence to index a date field?
Certainly.

Quote:
I am guessing that PostgreSQL has already optimized these fields???
What is your notion of "optimized"? Date is not any more magic than any
other datatype in Postgres.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.