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

From Thomas G. Lockhart
Subject Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
Date
Msg-id 36C65170.6AE6E97A@alumni.caltech.edu
Whole thread Raw
In response to (libpq question) Holy cow, what's all this fluff?!  (Matthew Hagerty <matthew@venux.net>)
Responses Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!  (Matthew Hagerty <matthew@venux.net>)
List 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

pgsql-interfaces by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [INTERFACES] NT Port
Next
From: Matthew Hagerty
Date:
Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!