pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Miroslav ©ulc <miroslav.sulc@startnet.cz>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: John Arbash Meinel <john@arbash-meinel.com>
Cc: PGSQL mailing list <pgsql-performance@postgresql.org>
Subject: Re: How to read query plan
Date: 14 Mar 2005 10:58:55 -0500
Message-ID: <877jkauslc.fsf@stark.xeocode.com> (raw)
In-Reply-To: <423554D2.9000207@startnet.cz>
References: <42345D24.8070104@startnet.cz>
	<4234692E.3050802@arbash-meinel.com>
	<42347407.2000202@startnet.cz>
	<42347D5E.9000900@arbash-meinel.com>
	<42348F54.1000408@startnet.cz>
	<423493E5.6040203@arbash-meinel.com>
	<42355249.8090101@startnet.cz>
	<4235533E.8040100@familyhealth.com.au>
	<423554D2.9000207@startnet.cz>

Miroslav ©ulc <miroslav.sulc@startnet.cz> writes:

> I think so. I'll change the varchar(1) fields to char(1) where possible 

char isn't faster than varchar on postgres. If anything it may be slightly
slower because every comparison first needs to pad both sides with spaces.

-- 
greg




view thread (37+ messages)  latest in thread

Message-ID: <877jkauslc.fsf@stark.xeocode.com>
Permalink:  ../877jkauslc.fsf@stark.xeocode.com/
Also on:    postgresql.org/message-id/877jkauslc.fsf@stark.xeocode.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, miroslav.sulc@startnet.cz, chriskl@familyhealth.com.au, john@arbash-meinel.com
  Subject: Re: How to read query plan
  In-Reply-To: <877jkauslc.fsf@stark.xeocode.com>

* 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