Hi, all.
I wrote a function and during testing it I came across the strange behaviour.
I've tested on 9.4beta3 and 9.3.5.
When I removed security_barrier from the view or alter column "time" type to integer (bigint, I don't remember) all goes as expected.
It looks very strange for me.
I will be pleased if somebody checks this.
Attachment:
test.sql
Description: application/sql
-- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general