pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: Taral <taral@cyberjunkie.com>
Cc: Matthew Hagerty <matthew@venux.net>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
Date: Sun, 14 Feb 1999 04:30:40 +0000
Message-ID: <36C65170.6AE6E97A@alumni.caltech.edu> (raw)
References: <4.1.19990213182304.0095d400@mail.venux.net>
	<99021317445301.11018@taral.dobiecenter.com>

> You want a varchar (or is it bpchar?), not a char. char(x) will always 
> return x characters, with space padding if necessary.

"bpchar" == "blank padded char", which is what char() is mapped to
internally. As Matthew has already learned, he probably really wants to
be using varchar(), or fix it up with trim().

                       - Tom



view thread (9+ messages)  latest in thread

Message-ID: <36C65170.6AE6E97A@alumni.caltech.edu>
Permalink:  ../36C65170.6AE6E97A@alumni.caltech.edu/
Also on:    postgresql.org/message-id/36C65170.6AE6E97A@alumni.caltech.edu

 · 

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-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, taral@cyberjunkie.com, matthew@venux.net
  Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
  In-Reply-To: <36C65170.6AE6E97A@alumni.caltech.edu>

* 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