Creating a temp table is not a read-only operation. On Aug 9, 2011, at 11:19 AM, pasman pasmański wrote: > What with queries need temporary tables? -- Scott Ribe scott_ribe@xxxxxxxxxxxxxxxx http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin