original_string: public function delete_records_select($table, $select, array $params=null) {
          if ($select) {
              $select = "WHERE $select";
          }
          $sql = "DELETE FROM {$this->prefix}$table $select";
  
          list($sql, $params, $type) = $this->fix_sql_params($sql, $params);
  
          $this->query_start($sql, $params, SQL_QUERY_UPDATE);
          $result = pg_query_params($this->pgsql, $sql, $params);
          $this->query_end($result);
  
          pg_free_result($result);
  
          return true;
      }
code: public function delete_records_select($table, $select, array $params=null) {
          if ($select) {
              $select = "WHERE $select";
          }
          $sql = "DELETE FROM {$this->prefix}$table $select";
  
          list($sql, $params, $type) = $this->fix_sql_params($sql, $params);
  
          $this->query_start($sql, $params, SQL_QUERY_UPDATE);
          $result = pg_query_params($this->pgsql, $sql, $params);
          $this->query_end($result);
  
          pg_free_result($result);
  
          return true;
      }
code_tokens: public function delete_records_select ( $ table , $ select , array $ params = null ) { if ( $ select ) { $ select = "WHERE $select" ; } $ sql = "DELETE FROM {$this->prefix}$table $select" ; list ( $ sql , $ params , $ type ) = $ this -> fix_sql_params ( $ sql , $ params ) ; $ this -> query_start ( $ sql , $ params , SQL_QUERY_UPDATE ) ; $ result = pg_query_params ( $ this -> pgsql , $ sql , $ params ) ; $ this -> query_end ( $ result ) ; pg_free_result ( $ result ) ; return true ; }
docstring: Delete one or more records from a table which match a particular WHERE clause, lobs not supported.
  
  @param string $table The database table to be checked against.
  @param string $select A fragment of SQL to be used in a where clause in the SQL call (used to define the selection criteria).
  @param array $params array of sql parameters
  @return bool true
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Delete one or more records from a table which match a particular WHERE clause lobs not supported .