- 15 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
places --- that risks corrupting data structures, losing sync with the backend, etc. We now longjmp only from calls to readline, fgets, and fread, which we assume are coded to protect themselves against interrupts at undesirable times. This requires adding explicit tests for cancel_pressed in long-running loops, but on the whole it's far cleaner. Martijn van Oosterhout and Tom Lane.
-
- 12 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
failure to enter commands in history if canceled by control-C, other infelicities.
-
- 07 6月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
than only if there is already history.
-
- 05 6月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
making it volatile.
-
由 Bruce Momjian 提交于
executed, like it did for 8.1.X.
-
- 04 6月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
the query.
-
- 21 3月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
> 1) Fix the problems with the \s command. > When the saveHistory is executed by the \s command we must not do the > conversion \n -> \x01 (per > http://archives.postgresql.org/pgsql-hackers/2006-03/msg00317.php ) > > 2) Fix the handling of Ctrl+C > > Now when you do > wsdb=# select 'your long query here ' > wsdb-# > and press afterwards the CtrlC the line "select 'your long query here '" > will be in the history > > (partly per > http://archives.postgresql.org/pgsql-hackers/2006-03/msg00297.php ) > > 3) Fix the handling of commands with not closed brackets, quotes, double > quotes. (now those commands are not splitted in parts...) > > 4) Fix the behaviour when SINGLELINE mode is used. (before it was almost > broken ;( Sergey E. Koposov
-
- 06 3月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
remain as part of the multi-line query.
-
由 Bruce Momjian 提交于
statements before the multi-line statement, rather than inside the multi-line statement.
-
- 05 3月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 12 2月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
Currently, while \e saves a single statement as one entry, interactive statements are saved one line at a time. Ideally all statements would be saved like \e does. Sergey E. Koposov
-
- 18 12月, 2005 1 次提交
-
-
由 Peter Eisentraut 提交于
password encryption. Also alter createuser command to the same effect.
-
- 15 10月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 2月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
macros around strings that were missing them.
-
- 01 1月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 31 10月, 2004 1 次提交
-
-
由 Tom Lane 提交于
Use this new function in psql. Implement query cancellation in psql for Windows. Code by Magnus Hagander, documentation and minor editorialization by Tom Lane.
-
- 29 8月, 2004 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 20 2月, 2004 1 次提交
-
-
由 Tom Lane 提交于
recent discussion. The lexer is used for both SQL command text and backslash commands. The purpose of this change is to make it easier to track the behavior of the backend's SQL lexer --- essentially identical flex rules are now used by psql. Also, this cleans up a lot of very squirrelly code in mainloop.c and command.c. The flex code is somewhat bulkier than the removed code, but should be lots easier to maintain.
-
- 25 1月, 2004 2 次提交
-
-
由 Neil Conway 提交于
pg_malloc, to avoid linker failures on same platforms.
-
由 Neil Conway 提交于
little more sane. Some parts of the code was using a static function xmalloc() that did safe memory allocation (where "safe" means "bail out on OOM"), but most of it was just invoking calloc() or malloc() directly. Now almost everything invokes xmalloc() or xcalloc().
-
- 22 1月, 2004 1 次提交
-
-
由 Tom Lane 提交于
-
- 30 11月, 2003 1 次提交
-
-
由 PostgreSQL Daemon 提交于
$Header: -> $PostgreSQL Changes ...
-
- 05 8月, 2003 1 次提交
-
-
由 Tom Lane 提交于
so it won't miss 'em again.
-
- 04 8月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 21 3月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 20 3月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
now, my changes seem to work. Some possible minor bugs got squished on the way but I can't be sure without more feedback from people who really put the code to the test. The new patch mostly simplifies variable handling and reduces code duplication. Changes in the command parser eliminate some redundant variables (boolean state + depth counter), replaces some "else if" constructs with switches, and so on. It is meant to be applied together with my previous patch, although I hope they don't conflict; I went back to the CVS version for this one. One more thing I thought should perhaps be changed: an IGNOREEOF value of n will ignore only n-1 EOFs. I didn't want to touch this for fear of breaking existing applications, but it does seem a tad illogical. Jeroen T. Vermeulen
-
由 Bruce Momjian 提交于
7.3.2). It removes some code duplication and #ifdeffing, and some unstructured ugliness such as tacky breaks and an unneeded continue. Breaks up a large function into smaller functions and reduces required nesting levels, and kills a variable or two. Jeroen T. Vermeulen
-
- 13 10月, 2002 1 次提交
-
-
由 Tom Lane 提交于
It isn't.
-
- 05 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 7月, 2002 1 次提交
-
-
由 Tom Lane 提交于
wasn't really right for case where :var is at the end of the line, was definitely not right if var expanded to empty in that case, and failed to recalculate thislen before jumping back to rescan.
-
- 16 6月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
The psql interpreter becomes unstable if variable substitutions are used. The debugger GDB was unable to help however mpatrol reports that the sprintf at mainloop.c:389 is steping one byte farther than the allocation. William K. Volkman
-
- 28 3月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 18 2月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 28 12月, 2001 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 06 11月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
initdb/regression tests pass.
-
- 28 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
spacing. Also adds space for one-line comments.
-
- 25 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
tests pass.
-