git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a542d56) | patch
ecpg: move some functions into a new file ecpg/preproc/util.c.
2024年10月14日 17:47:59 +0000 (13:47 -0400)
2024年10月14日 17:47:59 +0000 (13:47 -0400)
commit f18231e817599246fc99a798c9bf57ab785db91f
ecpg: move some functions into a new file ecpg/preproc/util.c.

mm_alloc and mm_strdup were in type.c, which seems a completely
random choice. No doubt the original author thought two small
functions didn't deserve their own file. But I'm about to add
some more memory-management stuff beside them, so let's put them
in a less surprising place. This seems like a better home for
mmerror, mmfatal, and the cat_str/make_str family, too.

Discussion: https://postgr.es/m/2011420.1713493114@sss.pgh.pa.us
src/interfaces/ecpg/preproc/Makefile diff | blob | blame | history
src/interfaces/ecpg/preproc/ecpg.header diff | blob | blame | history
src/interfaces/ecpg/preproc/meson.build diff | blob | blame | history
src/interfaces/ecpg/preproc/preproc_extern.h diff | blob | blame | history
src/interfaces/ecpg/preproc/type.c diff | blob | blame | history
src/interfaces/ecpg/preproc/util.c [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /