It thinks SET TRANSACTION ISOLATION LEVEL SER<tab>should be completed SET TRANSACTION ISOLATION LEVEL SERIALIZEDbut the correct keyword is SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
regards, tom lane