Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ca0xi-0008Ax-9p for pgadmin-hackers@arkaria.postgresql.org; Sat, 04 Feb 2017 14:05:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ca0xh-0008JR-Fq for pgadmin-hackers@arkaria.postgresql.org; Sat, 04 Feb 2017 14:05:09 +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_2) (envelope-from ) id 1ca0xS-000830-94 for pgadmin-hackers@postgresql.org; Sat, 04 Feb 2017 14:04:54 +0000 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ca0xI-0005Ip-5m for pgadmin-hackers@postgresql.org; Sat, 04 Feb 2017 14:04:51 +0000 Received: by mail-it0-x230.google.com with SMTP id c7so30779408itd.1 for ; Sat, 04 Feb 2017 06:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qRXDVqmH5iJIEEkB+Gx/ZTxcZptD0m5tsyO1EoHRXDw=; b=sf0rflrx9VVXlzqyZ+vfdj8UqYqqw9vYIMq04M+je+r1N8xJ5deH9Hh7uXNKTgG1N1 cgpA+rwvq+8Qbs2yK6BROtsiK6QccMHmYMVFWn0hHNDrM/0Ycskf8rvRcYNsC1aTZq4A O317ie/SaaVWhX5uLheDVMsMiGYQpMRDezsKkg7gfC7reFPyNW/s+lWllz8+a3U9qLUP M0LLk+OhGjxW9huISnvqKz2CeG3uJz8Ti0ohnpobtNQ2z3XFDM6ydoW+uwOOeYcJqVJg BtDahk3mhXCAnWs8Ef+YeaJcmJC2mF0f48BEi2sdbiUZgj3BXmwZY0aRUT9Z+Gcom7J3 5B4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qRXDVqmH5iJIEEkB+Gx/ZTxcZptD0m5tsyO1EoHRXDw=; b=HM6rxaBnaTsSljVYadknSlE0Hg9j3DpQ7qJZcr9PBTCDo3DcVsCLzqkhxBojDUP4ez 1FToT2h7OG06Il7RCHj2UwIZnYvZUuxB24WVa/V/6HrR4bGfVtMLCB2jGn9nz+pAr1Oo w1OJs5g8TJk0zoXwHubZE4ZQDnMwtQk0AVMteBpP7h6rZspd3rY08RgWztC0nC8USrUE v+Gv6bAB2fRLyo9hShHkPTwJT57xSaoKeYKpzpjZ+CwF2q3sxbPUQICekhUWNLZ0Jxki yDFbHZQWcefLEmonzoGsdhhTHnGZ/NBr825dgm1GXgRacRKp8uMLs5eWnGzhTj9tf/u1 +Ftg== X-Gm-Message-State: AIkVDXKYm7NbEnTE9Juws6zEsBOcT9zle1BQskoc+RXp9ErxEoYV860P8vCYovBaVBkmHAblfAF1xz8ismp71g== X-Received: by 10.36.17.7 with SMTP id 7mr1455010itf.113.1486217082986; Sat, 04 Feb 2017 06:04:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.224.198 with HTTP; Sat, 4 Feb 2017 06:04:42 -0800 (PST) In-Reply-To: References: From: Dave Page Date: Sat, 4 Feb 2017 14:04:42 +0000 Message-ID: Subject: Re: [pgAdmin4][PATCH] To fix the issue in handling of timestamp type To: Murtuza Zabuawala Cc: pgadmin-hackers , Ashesh Vashi Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi Murtuza, I clearly neglected to run the regression tests with this patch, and unfortunately it looks like it broke them. Can you look at this ASAP please? runTest (pgadmin.browser.server_groups.servers.databases.schemas.tables.column.tests.test_column_add.ColumnAddTestCase) This function will add column under table node. (Add table Node URL) ... 2017-02-04 14:43:55,191: ERROR pgadmin: Failed to execute query (execute_scalar) for the server #4 - DB:test_db_9e176 (Query-id: 4792242): Error Message:ERROR: syntax error at or near "False" LINE 2: ADD COLUMN test_column_add_f0d5d char(False); ^ FAIL As far as I can see, the app works fine - it's only the test that broke (probably because the application uses type name aliases (e.g. character) rather than the base type name that the test is using ("char"). Thanks. On Fri, Feb 3, 2017 at 1:52 PM, Dave Page wrote: > Thanks - patch applied. > > On Fri, Feb 3, 2017 at 11:46 AM, Murtuza Zabuawala > wrote: >> Hi, >> >> Please find updates patch for the same. >> RM#2076 >> >> -- >> Regards, >> Murtuza Zabuawala >> EnterpriseDB: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company >> >> On Wed, Feb 1, 2017 at 3:08 PM, Dave Page wrote: >>> >>> Hi >>> >>> On Tue, Jan 31, 2017 at 5:19 AM, Murtuza Zabuawala >>> wrote: >>> > Hi Dave, >>> > >>> > PFA updated patch. >>> >>> This seems to display "timestamp(0) with[out] timezone" columns >>> correctly in both the properties panel and dialog now, but the size is >>> still ignored if I try to add a new column through the table or column >>> dialogue. >>> >>> -- >>> Dave Page >>> Blog: http://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EnterpriseDB UK: http://www.enterprisedb.com >>> The Enterprise PostgreSQL Company >> >> > > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers