getVersion = async (short) => {
  const sql = `SELECT version();`;
  sql_log(sql);
  const tq = await getMyClient().query(sql);
  const v = tq.rows[0].version;
  if (short) {
    const ws = v.split(" ");
    return ws[1];
  }
  return v;
}
Get version of PostgreSQL
@param {boolean} short - if true return short version info else full version info
@returns {Promise<string>} returns version