"A B" <gentosaker@xxxxxxxxx> writes: > Whenever I use copy-paste to run code in a terminal window that is > running psql, and the code contains a row like > IF FOUND THEN > then I get the words > ABORT CHECKPOINT COMMIT DECLARE EXECUTE > ... Either avoid copying/pasting tabs, or turn off readline (-n option to psql, I think, but check the manual). There's probably a way to turn off tab-completion without disabling readline altogether, but I don't know how offhand. regards, tom lane