I'm very sorry to have bothered you. I thought this was a pg problem, but it's not. It appears to be a bug in a GUI wrapper I'm using to issue the queries. When using the psql client, everything works as expected. I will file a separate bug report for the GUI. Please disregard this bug report.