Bug #5664 SQL DDL output generator for view

From: Rahul Shirsat <rahul(dot)shirsat(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Bug #5664 SQL DDL output generator for view
Date: 2020-08-07 14:30:09
Message-ID: CAKtn9dMQdWomxXJ-wj4UT9ebC2dxeCQzqZuTQ9pWPPLkw-9UZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Please find the attached patch below which resolves the following issue of
SQL DDL output generator for view (preserving default values of columns)

Also, when changing VIEW's column's default value, the SQL generates ALTER
TABLE, now this would be as ALTER VIEW instead.

This fix could not be associated with its test cases, as the changes are
related to VIEW's column, in which we cannot add columns to the VIEW and
test it.

--
*Rahul Shirsat*
Software Engineer | EnterpriseDB Corporation.

Attachment Content-Type Size
RM5664.patch application/octet-stream 12.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-08-07 15:58:00 Re: WIP: SQL Formatter
Previous Message Pramod Ahire 2020-08-07 11:59:44 Re: Code coverage report generation for JS files