projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5143a
)
psql: Add C comment about gset_prefix being freed later
author
Bruce Momjian
<bruce@momjian.us>
Sat, 15 Feb 2014 05:09:24 +0000
(
00:09
-0500)
committer
Bruce Momjian
<bruce@momjian.us>
Sat, 15 Feb 2014 05:09:40 +0000
(
00:09
-0500)
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index 764534a3ae08395984beba500111b9c8726396aa..6a963b5d6fc989832bf035ffc794b0a80c711101 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-764,6
+764,7
@@
exec_command(const char *cmd,
/* we must set a non-NULL prefix to trigger storing */
pset.gset_prefix = pg_strdup("");
}
+ /* gset_prefix is freed later */
status = PSQL_CMD_SEND;
}