pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL index issue
2+ messages / 2 participants
[nested] [flat]

* PostgreSQL index issue
@ 2012-07-12 00:03  codevally <codevally.mail.list@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: codevally @ 2012-07-12 00:03 UTC (permalink / raw)
  To: pgsql-performance

Hi Fellows

I have a question regarding PostgreSQL 9.1 indexing. 

I am having a table and want to create a index for a column and I want to
store the data with time zone for that column. The questions are:

1. Can I create a index for a column which store time stamp with time zone.
If can is there ant performance issues?

2. Also I can store the time stamp value with zone as a long integer value.
If so what is the difference between the above step. Which one is better.

Many Thanks.

Roshan





--
View this message in context: http://postgresql.1045698.n5.nabble.com/PostgreSQL-index-issue-tp5716322.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PostgreSQL index issue
@ 2012-07-16 07:44  Albe Laurenz <laurenz.albe@wien.gv.at>
  parent: codevally <codevally.mail.list@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Albe Laurenz @ 2012-07-16 07:44 UTC (permalink / raw)
  To: codevally *EXTERN* <codevally.mail.list@gmail.com>; pgsql-performance

codevally wrote:
> I have a question regarding PostgreSQL 9.1 indexing.
> 
> I am having a table and want to create a index for a column and I want
to
> store the data with time zone for that column. The questions are:
> 
> 1. Can I create a index for a column which store time stamp with time
zone.
> If can is there ant performance issues?
> 
> 2. Also I can store the time stamp value with zone as a long integer
value.
> If so what is the difference between the above step. Which one is
better.
> 
> Many Thanks.

If you didn't like the answer that you got to exactly the same
question on
http://archives.postgresql.org/message-id/CAOokBJGA56tiyLZGPf859fmLiZidp
p19Q5pPbT65Hwc4wORegg%40mail.gmail.com
why didn't you say so?

Yours,
Laurenz Albe



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-07-16 07:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-07-12 00:03 PostgreSQL index issue codevally <codevally.mail.list@gmail.com>
2012-07-16 07:44 ` Albe Laurenz <laurenz.albe@wien.gv.at>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox