CVS mat: added _escape_field to permit backends to escape fields name as they are

[email protected]
Newsgroups gmane.mail.majordomo.majordomo2.cvs
Message-ID <[email protected]>
CVSROOT:	/home/cvs/majordomo
Module name:	majordomo
Changes by:	mat	03/02/21 11:21:14

Modified files:
	lib/Mj/SimpleDB: Pg.pm SQL.pm 

Log message:
added _escape_field to permit backends to escape fields name as they are
handed to queries in case they would be a reserved world ("user" for
instance)
added _escape_value to undef empty values so that DBI uses NULL and not ''
(I guess MySQL don't care to put '' into a integer, but PostgreSQL won't
let it happen)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.