On Wed, Nov 27, 2013 at 7:49 AM, <michael(dot)lancaster(at)exa-networks(dot)co(dot)uk>wrote:
>
> Reading the value from a variable named 'current_time' that has a value
> assigned to it then assigns the value of the function 'current_time' rather
> than reading the value that was previously assigned.
>
I don't think this is a bug, "current_time" is a reserved word. See
http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html