Re: [pgadmin-hackers] OF TYPE without SCHEMA specified in TABLE creation interface

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Sanket Mehta <sanket(dot)mehta(at)enterprisedb(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Guillaume Lelarge <guillaume(at)lelarge(dot)info>, liuyuanyuan <liuyuanyuangogo(at)gmail(dot)com>
Subject: Re: [pgadmin-hackers] OF TYPE without SCHEMA specified in TABLE creation interface
Date: 2014-08-21 08:55:06
Message-ID: CAG7mmozJeT7QE8Tazwz8QAgytXfk4HO+g3C3QuKX8VWmf36XrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-admin

Hi Sanket,

Can you please take a look at this?

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

On Wed, Aug 20, 2014 at 7:27 AM, liuyuanyuan <liuyuanyuangogo(at)gmail(dot)com>
wrote:

>
>
> Hi!
>
> I got a problem when I create a table of type by table creation interface
> of pgadmin.
>
> Because OF TYPE without SCHEMA specified, the table creation failed.
>
> I think the type should have schema specified when its schema being not
> ‘public’, please check.
>
> A example as follow
>
> First step:
>
> CREATE TYPE test.person AS
>
> (
>
> id integer,
>
> name character varying COLLATE pg_catalog."POSIX"
>
> );
>
>
>
> Second step:
>
>
>
> type has no schema specified :
>
>
>
> Then I click button OK, it got error as follow:
>
>
>
> At last, I add schema to type, then successfully:
>
>
>
> CREATE TABLE test.test
>
> OF *test*.person
>
> WITH (
>
> OIDS = FALSE
>
> );
>
>
>
>
>
> Best regard!
>
> Yours,
>
> Jasmine
>
>
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2014-08-24 08:56:41 pgAdmin III commit: Update chinese simplified translation
Previous Message liuyuanyuan 2014-08-20 01:57:16 OF TYPE without SCHEMA specified in TABLE creation interface

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2014-08-21 13:54:06 Re: pg_upgrade FAIL: can't find tablespaces
Previous Message Bruce Momjian 2014-08-21 02:23:59 Re: pg_upgrade FAIL: can't find tablespaces