postgres/perl, autocommit and BEGIN; COMMIT;

Marcus Brubaker marcus.brubaker-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Mon May 31 03:09:25 UTC 2004


On Sun, 2004-05-30 at 20:22, Madison Kelly wrote:
> William Park wrote:
> > On Sun, May 30, 2004 at 07:53:30PM +0000, Ilya Palagin wrote:
> > 
> >>Are you sure that you need PostgreSQL for your project?  MySQL is faster 
> >>and more simple.  It's the best choise for simple databases like yours 
> >>(I suppose that backup database is simple).
> > 
> > 
> > Or, even regular text file.
> > 
> 
> No, that I can safely say wouldn't be a good idea.
> 
> I started off recording partition information to raw text files and it 
> was a nightmare keeping it straight. Switching to a database cut the 
> number of line in half and made the program a lot more reliable. I am 
> sure it made it slower though but the reliability was needed. Maybe a 
> better programmer could make text files work (I am still pretty much a 
> n00b, after all).

Have you considered using a dbm file?  See perldoc DB_File.  Can't help
with the Javascript though, sorry.

-- 
Marcus Brubaker <marcus.brubaker-H217xnMUJC0sA/PxXw9srA at public.gmane.org>

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list