Re: varchar (no 'N') vs. text

From: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: varchar (no 'N') vs. text
Date: 2011-02-04 20:21:53
Message-ID: AANLkTi=T=xkmX1_rgjjSncRqUWFugqns8A5FCA7LsOT+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 4, 2011 at 1:18 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Jon Nelson <jnelson+pgsql(at)jamponi(dot)net> writes:
>> I thought 'character varying' (aka varchar) sans length was an alias
>> for text. Is it not?
>
> It has the same behavior, but it is a distinct type, so dummy coercions
> are needed.

Are there any performance implications for this dummy coercion?
Especially in joins.

--
Jon

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmitriy Igrishin 2011-02-04 22:08:28 Re: Additional Grants To SuperUser?
Previous Message Carlos Mennens 2011-02-04 19:28:13 Re: Additional Grants To SuperUser?