pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Whose is padding the fields? 3+ messages / 2 participants [nested] [flat]
* Whose is padding the fields? @ 2014-04-24 19:28 Fred Parkinson <FredP@abag.ca.gov> 0 siblings, 1 reply; 3+ messages in thread From: Fred Parkinson @ 2014-04-24 19:28 UTC (permalink / raw) To: pgsql-odbc Using the ODBC driver PostgreSQL ANSI ver. 8.02.04.00 I am using MS Access 2003 sp3 with forms bound to the postgres tables. Never had any problems, but this is the first time I have used this ODBC driver version. When I open the table in datasheet view I find that all of the fields are padded out to the field size with blank spaces. Characters can't be added to the data without deleting some of the blank spaces, so this is really annoying. If I delete blank spaces, move to another record, then move back, the blank padding is there again. The dba says that neither his web app nor psql see blank padding. Any idea where this is coming from, or better, how to stop this? Thanks for any help. --Fred ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Whose is padding the fields? @ 2014-04-25 00:13 Adrian Klaver <adrian.klaver@aklaver.com> parent: Fred Parkinson <FredP@abag.ca.gov> 0 siblings, 1 reply; 3+ messages in thread From: Adrian Klaver @ 2014-04-25 00:13 UTC (permalink / raw) To: Fred Parkinson <FredP@abag.ca.gov>; pgsql-odbc On 04/24/2014 12:28 PM, Fred Parkinson wrote: > Using the ODBC driver PostgreSQL ANSI ver. 8.02.04.00 > I am using MS Access 2003 sp3 with forms bound to the postgres tables. > Never had any problems, but this is the first time I have used this ODBC > driver version. FYI, the driver is now up to version 9.03.210. So just to be clear, the exact same Access forms worked with an older/newer version of psqlodbc? > When I open the table in datasheet view I find that all of the fields > are padded out to the field size with blank spaces. Characters can't be > added to the data without deleting some of the blank spaces, so this is > really annoying. If I delete blank spaces, move to another record, then > move back, the blank padding is there again. > The dba says that neither his web app nor psql see blank padding. > Any idea where this is coming from, or better, how to stop this? At this point not sure as more information is needed. What are the data type settings for the table fields in question? What are your ODBC settings? > Thanks for any help. --Fred -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Whose is padding the fields? @ 2014-04-25 17:43 Fred Parkinson <FredP@abag.ca.gov> parent: Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 0 replies; 3+ messages in thread From: Fred Parkinson @ 2014-04-25 17:43 UTC (permalink / raw) To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-odbc >What are the data type settings for the table fields in question? Why didn't I think of that question? Of the 20 or 30 applications I have, I created all of the tables with varchar(). The GIS guy that created this table used character(), which the book says is "A fixed-length character string, padded with spaces..." Viola! The answer! Thanks for your help, and thank the stars for mailing lists like this! --Fred >>> Adrian Klaver <adrian.klaver@aklaver.com> 4/24/2014 5:13 PM >>> On 04/24/2014 12:28 PM, Fred Parkinson wrote: > Using the ODBC driver PostgreSQL ANSI ver. 8.02.04.00 > I am using MS Access 2003 sp3 with forms bound to the postgres tables. > Never had any problems, but this is the first time I have used this ODBC > driver version. FYI, the driver is now up to version 9.03.210. So just to be clear, the exact same Access forms worked with an older/newer version of psqlodbc? > When I open the table in datasheet view I find that all of the fields > are padded out to the field size with blank spaces. Characters can't be > added to the data without deleting some of the blank spaces, so this is > really annoying. If I delete blank spaces, move to another record, then > move back, the blank padding is there again. > The dba says that neither his web app nor psql see blank padding. > Any idea where this is coming from, or better, how to stop this? At this point not sure as more information is needed. What are the data type settings for the table fields in question? What are your ODBC settings? > Thanks for any help. --Fred -- Adrian Klaver adrian.klaver@aklaver.com ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2014-04-25 17:43 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2014-04-24 19:28 Whose is padding the fields? Fred Parkinson <FredP@abag.ca.gov> 2014-04-25 00:13 ` Adrian Klaver <adrian.klaver@aklaver.com> 2014-04-25 17:43 ` Fred Parkinson <FredP@abag.ca.gov>
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