aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-01-16 10:15:32 +0530
committerAmit Kapila <akapila@postgresql.org>2021-01-16 10:15:32 +0530
commitc95765f47673b16ed36acbfe98e1242e3c3822a3 (patch)
treeee3a04ede5c0b52c4db5a28ea75b4212a0d13577 /src/tutorial/basics.source
parentc9a0dc34865f2f82d8e186f534d9b605afaa4d11 (diff)
downloadpostgresql-c95765f47673b16ed36acbfe98e1242e3c3822a3.tar.gz
postgresql-c95765f47673b16ed36acbfe98e1242e3c3822a3.zip
Remove unnecessary pstrdup in fetch_table_list.
The result of TextDatumGetCString is already palloc'ed so we don't need to allocate memory for it again. We decide not to backpatch it as there doesn't seem to be any case where it can create a meaningful leak. Author: Zhijie Hou Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/229fed2eb8c54c71a96ccb99e516eb12@G08CNEXMBPEKD05.g08.fujitsu.local
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions