Re: MDB2_Driver_pgsql MDB2_PORTABILITY_RTRIM bug?

From: Date: Tue, 18 Jul 2006 13:49:44 +0000
Subject: Re: MDB2_Driver_pgsql MDB2_PORTABILITY_RTRIM bug?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24676@lists.php.net to get a copy of this message
Il 15:36, martedì 18 luglio 2006, Lukas Smith ha scritto: > alessandro pasotti wrote: > > Have I missed something or should I file a bug report? > > I assumed that pgsql does this by default for non variable length string > columns? Is this not the case? I use this test case: CREATE TABLE ntbl_driver ( driver_id serial NOT NULL, driver character(50), tstamp timestamp(6) without time zone NOT NULL ); then I do INSERT INTO ntbl_driver (driver_id, driver, tstamp) VALUES (7, 'GDAL/PNG ', '2004-04-01 12:00:00'); if I dump a fetched array I get a string 50 chars long with spaces on the right (even if MDB2_PORTABILITY_RTRIM is set). Thanks for helping. -- Alessandro Pasotti -- itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502

« previous php.pear.general (#24676) next »