The TABLESAMPLE clause implementation in PostgreSQL supports creating a custom sampling methods. These methods control what sample of the table will be returned when the TABLESAMPLE clause is used.