citusdata / citusdata/citus

Completion of error handling

Open
#405 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Would you like to [add more error handling](https://github.com/citusdata/citus/blob/a9652daef76655847881456bd7e0ad1da17e6804/src/backend/distributed/planner/multi_join_order.c#L1111) for [return values from functions like "strdup"](http://pubs.opengroup.org/onlinepubs/9699919799/functions/strdup.html)?

Contributor guide

Open the contributing guide

Research direction

Start in src/backend/distributed/planner/multi_join_order.c at the linked location, then review nearby calls that return values like strdup and consult the linked strdup documentation. Identify unchecked failure paths and determine how error handling should behave consistently; done means the relevant return values are handled without leaving the planner in an invalid state.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, postgresql
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.