Can't create unlogged table

Поиск
Список
Период
Сортировка
Искать

Can't create unlogged table

От:
Alexander Perepelica <alexondi@rambler.ru>
Дата:
Hi!
I try create unlogged table in 9.1beta3 (linux x86_64) execute such code:

create unlogged table public.test (
id serial primary key,
some_text text
);
and what I see is:

ERROR:  only temporary relations may be created in temporary schemas
What I do wrong?

Thank you,
Alexander

Re: Can't create unlogged table

От:
Joshua Berkus <josh@agliodbs.com>
Дата:
Alexander,

I don't know, that looks like a bug.  Robert?

--Josh

----- Original Message -----
> 
> Hi!
> I try create unlogged table in 9.1beta3 (linux x86_64) execute such
> code:
> 
> create unlogged table public .test (
> id serial primary key ,
> some_text text );
> and what I see is:
> 
> ERROR:  only temporary relations may be created in temporary schemas
> What I do wrong?
> 
> Thank you,
> Alexander
> 

Re: Can't create unlogged table

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Sat, Aug 13, 2011 at 12:13 PM, Joshua Berkus  wrote:
> I don't know, that looks like a bug.  Robert?

Yeah, it's a bug; further, it's a bug I introduced through poor testing.

It's already fixed in the tip of REL9_1_STABLE.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
FAQ