[email protected]: [ Charset windows-1252 converted... ] > > Am 12.01.2015 um 16:33 schrieb Wietse Venema: > > [email protected]: > >> what about > >> > >> * open a temporary new file for step 1 > >> * if the operations fails just delete it > >> * if the operation suceeds move it to the final location > > > > What about databases that require TWO files? There is no > > atomic operation to move two files > > create TWO temp files and decide at the end if they both are should be > moved or deleted? i don't get why you care in that context about atmoic > move of two files
People should be encouraged more to use "make" as described in DATABASE_README (http://www.postfix.org/DATABASE_README.html). There is an explicit example for aliases and other maps. Wietse
