Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aViMv-0002ui-V5 for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 16:20:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aViMv-00089z-EW for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 16:20:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aVhKK-0002NQ-6H for pgsql-bugs@postgresql.org; Tue, 16 Feb 2016 15:14:08 +0000 Received: from mx0a-00195a01.pphosted.com ([67.231.149.159]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aVhKG-0002OF-Gi for pgsql-bugs@postgresql.org; Tue, 16 Feb 2016 15:14:06 +0000 Received: from pps.filterd (m0072314.ppops.net [127.0.0.1]) by mx0a-00195a01.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id u1GFAeXd002957 for ; Tue, 16 Feb 2016 07:14:00 -0800 Received: from west-cas01.milliman.com (west-cas01.milliman.com [74.116.172.171] (may be forged)) by mx0a-00195a01.pphosted.com with ESMTP id 213nyusv68-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 16 Feb 2016 07:14:00 -0800 Received: from WEST-MBX03.milliman.com ([169.254.4.3]) by WEST-CAS01.milliman.com ([::1]) with mapi id 14.03.0210.002; Tue, 16 Feb 2016 09:13:59 -0600 From: Tom Puckett To: "pgsql-bugs@postgresql.org" Subject: aparent bug with pgAdmin version 1.22.1 connected to pg 9.5: SQL Pane view of SEQUENCE object Thread-Topic: aparent bug with pgAdmin version 1.22.1 connected to pg 9.5: SQL Pane view of SEQUENCE object Thread-Index: AdFozIiAnvpFqqeKT9qPsQCfnqWYWg== Date: Tue, 16 Feb 2016 15:13:59 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.3.105.64] Content-Type: multipart/alternative; boundary="_000_DA171538123EEF49B3DF312271D474C2311A522CWESTMBX03millim_" MIME-Version: 1.0 X-Proofpoint-SPF-Result: fail X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.21,1.0.33,0.0.0000 definitions=2016-02-16_08:2016-02-16,2016-02-16,1970-01-01 signatures=0 X-Proofpoint-Spam-Reason: safe X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --_000_DA171538123EEF49B3DF312271D474C2311A522CWESTMBX03millim_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable A sequence object was created successfully when I created a table with a co= lumn of type SEQUENCE. However, in the SQL pane, I see the below code, whi= ch has an ALTER TABLE statement for the assignment of ownership. The seque= nce object can be recreated (manually) only if I edit this statement to bec= ome ALTER SEQUENCE, so I'm convinced that this is a defect somewhere. -- Sequence: public.patient_patient_dbid_seq -- DROP SEQUENCE public.patient_patient_dbid_seq; CREATE SEQUENCE public.patient_patient_dbid_seq INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1; ALTER TABLE public.patient_patient_dbid_seq OWNER TO wohcdrowner; ****************************************************************** This communication is intended solely for the addressee and is confidential= . If you are not the intended recipient, any disclosure, copying, distribution or an= y action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful= . Unless indicated to the contrary: it does not constitute professional advice or op= inions upon which reliance may be made by the addressee or any other party, and it shou= ld be considered to be a work in progress. ****************************************************************** --_000_DA171538123EEF49B3DF312271D474C2311A522CWESTMBX03millim_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

A sequence object was created successfully when I cr= eated a table with a column of type SEQUENCE.  However, in the SQL pan= e, I see the below code, which has an ALTER TABLE statement for the assignm= ent of ownership.  The sequence object can be recreated (manually) only if I edit this statement to become ALTER = SEQUENCE, so I’m convinced that this is a defect somewhere. 

 

= -- Sequence: public.patient_patient_dbid_seq

=  

= -- DROP SEQUENCE public.patient_patient_dbid_seq;

=  

= CREATE SEQUENCE public.patient_patient_dbid_seq

=   INCREMENT 1

=   MINVALUE 1

=   MAXVALUE 9223372036854775807

=   START 1

=   CACHE 1;

= ALTER TABLE public.patient_patient_dbid_seq

=   OWNER TO wohcdrowner;

 

******************************************************************
This communication is intended solely for the addressee and is confidential= . If you
are not the intended recipient, any disclosure, copying, distribution or an= y action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful= . Unless
indicated to the contrary: it does not constitute professional advice or op= inions upon
which reliance may be made by the addressee or any other party, and it shou= ld be
considered to be a work in progress.
******************************************************************

--_000_DA171538123EEF49B3DF312271D474C2311A522CWESTMBX03millim_--