We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea76d1 commit c4e6d50Copy full SHA for c4e6d50
src/bin/psql/input.c
@@ -378,10 +378,10 @@ initializeInput(int flags)
378
*
379
* max_lines: if >= 0, limit history file to that many entries.
380
*/
381
+#ifdef USE_READLINE
382
static bool
383
saveHistory(char *fname, int max_lines)
384
{
-#ifdef USE_READLINE
385
int errnum;
386
387
/*
@@ -446,10 +446,10 @@ saveHistory(char *fname, int max_lines)
446
psql_error("could not save history to file \"%s\": %s\n",
447
fname, strerror(errnum));
448
}
449
-#endif
450
-
451
return false;
452
+#endif
+
453
454
455
0 commit comments