docs: public static void sqldayname(StringBuilder buf, List<? extends CharSequence> parsedArgs) throws SQLException {
      if (parsedArgs.size() != 1) {
        throw new PSQLException(GT.tr("{0} function takes one and only one argument.", "dayname"),
            PSQLState.SYNTAX_ERROR);
      }
      appendCall(buf, "to_char(", ",", ",'Day')", parsedArgs);
    }