On 07/03/2015 10:03 AM, Noah Misch wrote:
>> +static void
>> +dumpPolicy(Archive *fout, PolicyInfo *polinfo)
> ...
>> + if (polinfo->polqual != NULL)
>> + appendPQExpBuffer(query, " USING %s", polinfo->polqual);
>
> (3) The USING clause needs parentheses; a dump+reload failed like so:
Also needed for WITH CHECK. Fix pushed to 9.5 and HEAD.
Joe