[pgAdmin4][Patch][RM2257]: Query tool - Insert row doesn't use default values

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch][RM2257]: Query tool - Insert row doesn't use default values
Date: 2017-04-01 11:45:16
Message-ID: CAM5-9D_SSL81uT4AqsRr8WPABWA6S-iE34OxLb8YqfVN3myeJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

Issues fixed:

1. If a column is defined with a default modifier, there is now way to
insert the row with those defaults.
The column will be left blank and it will take default value automatically.

2. If a column has a not-null constraint then an error is returned and the
row is not inserted.
The column will be left blank
​ ​

​The default values for new added rows will be displayed on refresh/execute.

Please find attached patch and review.

Thanks
Surinder

Attachment Content-Type Size
RM_2257.patch application/octet-stream 7.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jonas Thelemann 2017-04-01 14:27:33 Re: [pgAdmin4][Patch]: Fixed 2190 - Move language selection to Preferences.
Previous Message Dave Page 2017-04-01 06:57:58 pgAdmin 4 commit: Properly handle truncated table names (> NAMEDATALEN)