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 98d8c75 commit 47ae6bcCopy full SHA for 47ae6bc
src/bin/psql/input.c
@@ -381,10 +381,10 @@ initializeInput(int flags)
381
*
382
* max_lines: if >= 0, limit history file to that many entries.
383
*/
384
+#ifdef USE_READLINE
385
static bool
386
saveHistory(char *fname, int max_lines)
387
{
-#ifdef USE_READLINE
388
int errnum;
389
390
/*
@@ -449,10 +449,10 @@ saveHistory(char *fname, int max_lines)
449
psql_error("could not save history to file \"%s\": %s\n",
450
fname, strerror(errnum));
451
}
452
-#endif
453
-
454
return false;
455
+#endif
+
456
457
458
0 commit comments