postgres/perl, autocommit and BEGIN; COMMIT;

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon May 31 01:07:07 UTC 2004


On Sunday 30 May 2004 20:22, Madison Kelly wrote:

> 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

To get database like features (i.e. SQL) there's always sqlite, I expect you 
would have to make very few changes to your scripts to make it use sqllite 
backend.  sqlite just stores your data in a file (not plain text mind you).

As long as you don't use non-portable database features you should be able to 
switch from pgsql to mysql to sqlite to whatever fairly easily down the road.
-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
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