Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Taral <taral(at)cyberjunkie(dot)com>
Cc: Matthew Hagerty <matthew(at)venux(dot)net>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
Date: 1999-02-14 04:30:40
Message-ID: 36C65170.6AE6E97A@alumni.caltech.edu (view raw or flat)
Thread:
Lists: pgsql-interfaces
> 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

In response to

Responses

pgsql-interfaces by date

Next:From: Matthew HagertyDate: 1999-02-14 05:17:59
Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
Previous:From: Thomas G. LockhartDate: 1999-02-14 04:26:57
Subject: Re: [INTERFACES] NT Port

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group