From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Abel Abraham Camarillo Ojeda <acamari(at)verlet(dot)org> |
Cc: | Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #6205: ERROR: temporary tables cannot specify a schema name |
Date: | 2011-09-14 21:49:04 |
Message-ID: | 1316036899-sup-8762@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Excerpts from Abel Abraham Camarillo Ojeda's message of mié sep 14 18:33:33 -0300 2011:
> Cannot create temporary tables without using CREATE TEMP,
> if I hardcode 'pg_temp' as a schema _and_ the table uses
> a unique constraint on a column, this does work if the table
> doesn't use a unique constraint:
>
> To reproduce:
>
> $ psql -U postgres _n_srv
> psql (9.1.0)
> Type "help" for help.
>
> _n_srv=# create table pg_temp.c (x int);
> CREATE TABLE
> _n_srv=# drop table pg_temp.c;
> DROP TABLE
> _n_srv=# create table pg_temp.c (x int unique);
> ERROR: temporary tables cannot specify a schema name
FWIW this does work in 9.0.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Carlos | 2011-09-14 22:10:40 | BUG #6206: The reset button is always blocked in case of error in the backup file. |
Previous Message | Abel Abraham Camarillo Ojeda | 2011-09-14 21:33:33 | BUG #6205: ERROR: temporary tables cannot specify a schema name |