diff -r 7b405bb305ab -r 819aea456251 server/serverctl.py --- a/server/serverctl.py Tue Sep 08 15:30:49 2009 +0200 +++ b/server/serverctl.py Tue Sep 08 15:59:20 2009 +0200 @@ -312,7 +312,8 @@ # postgres specific stuff if driver == 'postgres': # install plpythonu/plpgsql language if not installed by the cube - for extlang in ('plpythonu', 'plpgsql'): + langs = ('plpgsql',) if sys.platform == 'win32' else ('plpythonu', 'plpgsql') + for extlang in langs: helper.create_language(cursor, extlang) cursor.close() cnx.commit() @@ -676,7 +677,7 @@ import tempfile srcappid = pop_arg(args, 1, msg='No source instance specified !') destappid = pop_arg(args, msg='No destination instance specified !') - output = tempfile.mkstemp(dir='/tmp/')[1] + output = tempfile.mkstemp()[1] if ':' in srcappid: host, srcappid = srcappid.split(':') _remote_dump(host, srcappid, output, self.config.sudo)