master_create_empty_shard should take regclass
Open
1-2 days
technical debt
warm-up
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
`master_create_empty_shard` currently uses `text` as the first argument, it should use `regclass` instead.
Contributor guide
Research direction
Start by locating the master_create_empty_shard function definition and checking how its first argument is declared and used. Update the argument type to regclass, then verify that the function accepts a relation name through PostgreSQL's regclass handling and that existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, sql
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100