pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexaki Sofia <alexaki@ics.forth.gr>
To: pgsql-sql@postgresql.org
Subject: Btree index on varchar
Date: Fri, 23 Mar 2001 12:59:14 +0200 (EET)
Message-ID: <Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr> (raw)

Hello,

I have a question for Btree indexes on a varchar field.
Does postgres (7.0.2) uses a special encoding when creating
Btree indexes on varchar??

Is it much more efficient to create indexes  on integer than
on strings with average length 30 chars??

Thank you in advance for your help

Regards
Sofia Alexaki




view thread (2+ messages)  latest in thread

Message-ID: <Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr>
Permalink:  ../Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr/
Also on:    postgresql.org/message-id/Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: alexaki@ics.forth.gr
  Subject: Re: Btree index on varchar
  In-Reply-To: <Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr>
  References: <Pine.GSO.4.10.10103231252380.8056-100000@sappho.ics.forth.gr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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