Skip to content

Improve the SQL tab-completion feature for resource group#1669

Open
fairyfar wants to merge 1 commit intoapache:mainfrom
fairyfar:res-tab
Open

Improve the SQL tab-completion feature for resource group#1669
fairyfar wants to merge 1 commit intoapache:mainfrom
fairyfar:res-tab

Conversation

@fairyfar
Copy link
Copy Markdown
Contributor

@fairyfar fairyfar commented Apr 9, 2026

What does this PR do?

Improve the SQL tab-completion feature for resource group

When manually typing the SQL for resource group management in the psql client, the auto-completion(tab-completion) function is not complete enough.
In particular, the auto-completion of the ALTER RESOURCE GROUP command is lacking.

For example, auto-completion cannot continue after "ALTER RESOURCE ".

Key points of modification:

  1. For the time being, we will not handle the tab-completion feature of resource queue because there is a trend for resource group to replace resource queue.
  2. Correct the description of the gp_resource_manager parameter.

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


1. For the time being, we will not handle the tab-completion feature of resource queue because there is a trend for resource group to replace resource queue.
2. Correct the description of the gp_resource_manager parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant