Is this resource actually necessary?  Couldn't you just put the `$create_tablespace_cmmand` variable as the value for 'command' in the previous resource?  (As opposed to `SELECT 1`?)