@Override
	protected void generateRawDatabase() throws SQLException {
		BSimServerInfo serverInfo = postgresDs.getServerInfo();
		BSimServerInfo defaultServerInfo =
			new BSimServerInfo(DBType.postgres, serverInfo.getUserInfo(),
				serverInfo.getServerName(), serverInfo.getPort(), DEFAULT_DATABASE_NAME);
		String createdbstring = "CREATE DATABASE \"" + serverInfo.getDBName() + '"';
		BSimPostgresDataSource defaultDs =
			BSimPostgresDBConnectionManager.getDataSource(defaultServerInfo);
		try (Connection db = defaultDs.getConnection(); Statement st = db.createStatement()) {
			st.executeUpdate(createdbstring);
			postgresDs.initializeFrom(defaultDs);
		}
	}
@throws SQLException if there is an error creating/executing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/PostgresFunctionDatabase.java