pgsql: Fix incorrect source filename references

2024-12-22 Thread David Rowley
Fix incorrect source filename references Jian He reported the src/include/utility/tcop.h one and the remainder were found by using a script to look for src/* and check that we have a filename or directory of that name. In passing, fix some out-date comments. Reported-by: Jian He Reviewed-by: To

pgsql: Fix memory leak in pgoutput with publication list cache

2024-12-22 Thread Michael Paquier
Fix memory leak in pgoutput with publication list cache The pgoutput module caches publication names in a list and frees it upon invalidation. However, the code forgot to free the actual publication names within the list elements, as publication names are pstrdup()'d in GetPublication(). This wo

pgsql: Fix memory leak in pgoutput with publication list cache

2024-12-22 Thread Michael Paquier
Fix memory leak in pgoutput with publication list cache The pgoutput module caches publication names in a list and frees it upon invalidation. However, the code forgot to free the actual publication names within the list elements, as publication names are pstrdup()'d in GetPublication(). This wo

pgsql: Fix memory leak in pgoutput with publication list cache

2024-12-22 Thread Michael Paquier
Fix memory leak in pgoutput with publication list cache The pgoutput module caches publication names in a list and frees it upon invalidation. However, the code forgot to free the actual publication names within the list elements, as publication names are pstrdup()'d in GetPublication(). This wo

pgsql: Fix memory leak in pgoutput with publication list cache

2024-12-22 Thread Michael Paquier
Fix memory leak in pgoutput with publication list cache The pgoutput module caches publication names in a list and frees it upon invalidation. However, the code forgot to free the actual publication names within the list elements, as publication names are pstrdup()'d in GetPublication(). This wo

pgsql: Fix memory leak in pgoutput with publication list cache

2024-12-22 Thread Michael Paquier
Fix memory leak in pgoutput with publication list cache The pgoutput module caches publication names in a list and frees it upon invalidation. However, the code forgot to free the actual publication names within the list elements, as publication names are pstrdup()'d in GetPublication(). This wo

pgsql: Fix some comments related to library unloading

2024-12-22 Thread Michael Paquier
Fix some comments related to library unloading Library unloading has never been supported with its code removed in ab02d702ef08, and there were some comments still mentioning that it was a possible operation. ChangAo has noticed the incorrect references in dfmgr.c, while I have noticed the other