Skip to content

Commit

Permalink
fixed issue where deduplicate_items was selected for PG version 12 an…
Browse files Browse the repository at this point in the history
…d below. #6374
  • Loading branch information
pravesh-sharma authored Jul 17, 2023
1 parent d3753ee commit b4991a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ export class WithSchema extends BaseUISchema {
depChange: (state, source) => {
if (state.amname !== 'btree') {
return {deduplicate_items:undefined};
} else if (state.amname === 'btree' && source[0] !== 'deduplicate_items') {
} else if (state.amname === 'btree' && source[0] !== 'deduplicate_items' &&
withSchemaObj.node_info.server.version >= 130000) {
return {deduplicate_items: true};
}
}, min_version: 130000,
Expand Down

0 comments on commit b4991a4

Please sign in to comment.