PostgreSQL

Replace use of SplitIdentifierString with SplitGUCList in PG Partition Manager

pg_partman has very minimal C code, but it should still be kept up to date to use new APIs when they become available. A small fix would be to see if it can take advantage of a new function to properly split a comma separated custom variable used in the postgresql.conf file. It currently uses SplitIdentifierString() to do this and PostgreSQL 10.5 introduced the new functions SplitGUCList().

Code still needs to be kept backward compatible with older versions that don't have this function yet for a little while. Ensure this is done properly.

Either provide a Github pull request adding this feature or provide reasons why this new function may not be appropriate to use in this case.

Task tags

  • c-language
  • c
  • code
  • programming
  • sql

Students who completed this task

JackLiu

Task type

  • code Code
close

2018