[pgAdmin4][Patch][RM2257]: Query tool - Insert row doesn't usedefault values - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch][RM2257]: Query tool - Insert row doesn't usedefault values
Date
Msg-id CAM5-9D_SSL81uT4AqsRr8WPABWA6S-iE34OxLb8YqfVN3myeJg@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch][RM2257]: Query tool - Insertrow doesn't use default values
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Properly handle truncated table names (>NAMEDATALEN)
Next
From: Jonas Thelemann
Date:
Subject: Re: [pgAdmin4][Patch]: Fixed 2190 - Move languageselection to Preferences.