mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where oid column should not be pasted when copy/paste row is used on query output containing the oid column. Fixes #4381
This commit is contained in:
committed by
Akshay Joshi
parent
ac298b03c0
commit
028473eb83
@@ -3712,6 +3712,10 @@ define('tools.querytool', [
|
||||
new_row.is_row_copied = true;
|
||||
self.temp_new_rows.push(count);
|
||||
new_row[self.client_primary_key] = _key;
|
||||
if(self.has_oids && new_row.oid) {
|
||||
new_row.oid = null;
|
||||
}
|
||||
|
||||
dataView.addItem(new_row);
|
||||
self.data_store.added[_key] = {
|
||||
'err': false,
|
||||
|
||||
Reference in New Issue
Block a user