Dave Cramer <p...@fastcrypt.com> writes: > I have a need to test timeouts in JDBC, is there a query that is > guaranteed not to return ?
You could just do an unconstrained join between several large tables. Or "select pg_sleep(largevalue)", depending on whether you'd like the backend to be spitting data at you or not, regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers