joseph speigle <joe(dot)speigle(at)jklh(dot)us> writes:> SELECT into username FROM user_table WHERE location = location_in;
You're missing anything to be put into username ...
regards, tom lane