On Thu, Jan 22, 2015 at 6:37 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote: > > (Please point out me if my understanding is incorrect.) >
> What happen if dynamic background worker process tries to reference temporary > tables? Because buffer of temporary table blocks are allocated on private > address space, its recent status is not visible to other process unless it is > not flushed to the storage every time. > > Do we need to prohibit create_parallelscan_paths() to generate a path when > target relation is temporary one? >
Yes, we need to prohibit parallel scans on temporary relations. Will fix.