The problems about temporary tables in V7.3.2 - Mailing list pgsql-sql

From jack
Subject The problems about temporary tables in V7.3.2
Date
Msg-id 001a01c32577$ccee2180$1400a8c0@jac
Whole thread Raw
Responses Re: The problems about temporary tables in V7.3.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Hi All

A view is created with a normal table xx without a schema specified. And
before using the view, a temporary table xx , which has the same name as the
normal table xx used by the view. In the same connection session, it
supposes the view would read the temporary table. But actually it always
reads the normal table instead of temporary table. The same thing happens to
the table specified with a schema. If a SELECT statement uses a table with a
schema specified, the SELECT statement won't read the temporary table when
it exists with the same name. I just wonder the schema feature just removes
the access priority of the temporary tables.

Jack



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: schema-qualified permission problem
Next
From: Tom Lane
Date:
Subject: Re: The problems about temporary tables in V7.3.2