8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bcc9e6 commit 729d005Copy full SHA for 729d005
src/bin/psql/input.c
@@ -382,10 +382,10 @@ initializeInput(int flags)
382
*
383
* max_lines: if >= 0, limit history file to that many entries.
384
*/
385
+#ifdef USE_READLINE
386
static bool
387
saveHistory(char *fname, int max_lines)
388
{
-#ifdef USE_READLINE
389
int errnum;
390
391
/*
@@ -450,10 +450,10 @@ saveHistory(char *fname, int max_lines)
450
psql_error("could not save history to file \"%s\": %s\n",
451
fname, strerror(errnum));
452
}
453
-#endif
454
-
455
return false;
456
+#endif
+
457
458
459
0 commit comments