Postgres Port update

Ivan Kohler ivan at sisd.com
Mon Aug 24 21:21:59 PDT 1998


Cleaining out old mail...

I set DBI's ChopBlanks true instead.

On Sun, 29 Mar 1998, News Subsystem wrote:

> Ivan,
> 
> 	I have fixed most of my problems with a small change.  
> Unfortunately, I think it might be a BIG performance pig.  I have added 
> code to FS::Record::new to automatically strip trailing spaces off of 
> strings read from the the database (if datasrc =~ m/Pg/).  To do this, I 
> have to dereference $hashref, and then I match field for a trailing 
> space.  If it has a trailing space, I unpack("A255" it.  I was wondering 
> if you might have a recommendation of any ways to speed this up.
> 
> 	brian
> 
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key
Silicon Interactive Software Design - http://www.sisd.com/
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # consciousness is the missing symmetry





More information about the freeside-users mailing list