On 7/23/15 6:39 PM, Tom Lane wrote:
> + 2202H E ERRCODE_INVALID_TABLESAMPLE_ARGUMENT invalid_tablesample_argument
> + 2202G E ERRCODE_INVALID_TABLESAMPLE_REPEAT invalid_tablesample_repeat
Where did you get these error codes from? The constants in the SQL
standard would map to
ERRCODE_INVALID_SAMPLE_SIZE
ERRCODE_INVALID_REPEAT_ARGUMENT_IN_A_SAMPLE_CLAUSE
Were you looking at a different standard, or did you intentionally
choose to rephrase?