database-independent create and drop functions. PR: 27804 Submitted by: Anton Berezin <tobez@tobez.org>