- 02 11月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
interesting for MS to catch all those dumps... Anyway. Oops. Seems I ran my regression tests with the old psql, and just managed to update the backend, when I tested that patch. Turns out there are codepaths where we'd access the Critical Section before it was initialized. Attached patch breaks the initializeation off to a separate part and adds that one to a much earlier position in the program. Magnus Hagander
-
- 16 10月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
password. Make password error message a #define and use it consistently. Sean Chittenden
-
- 08 10月, 2004 1 次提交
-
-
由 Neil Conway 提交于
PROMPT2 and PROMPT3 variables before we read any of the settings specified via the user on the command-line or in psqlrc, so that the latter can override the former. Per original patch from Ingo van Lil, simpler fix suggested by Tom Lane.
-
- 06 10月, 2004 1 次提交
-
-
由 Neil Conway 提交于
the startup banner. This allows "\set QUIET on" in psqlrc to do what the user probably intended. Patch from Sean Chittenden, editorializing from Neil Conway.
-
- 28 9月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
from Peter.
-
- 14 9月, 2004 1 次提交
-
-
由 Neil Conway 提交于
-
- 29 8月, 2004 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 21 8月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
Greg Sabino Mullan
-
- 18 8月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 03 6月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
environment variable processing to libpq. The patch also adds code to our client apps so we set the environment variable directly based on our binary location, unless it is already set. This will allow our applications to emit proper locale messages that are generated in libpq.
-
- 25 5月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
Adjust get_*_path functions to be limited to MAXPGPATH.
-
- 17 5月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
Create new get_* functions to access compiled-in paths and adjust if relative installs are to be used. Clean up substitute_libpath_macro() code.
-
- 02 5月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 4月, 2004 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 20 4月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
* removed a few redundant defines * get_user_name safe under win32 * rationalized pipe read EOF for win32 (UPDATED PATCH USED) * changed all backend instances of sleep() to pg_usleep - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a 32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is acceptable, please replace with pg_usleep(2000000000L)] I added a comment to that part of the code: /* * It would be nice to use pg_usleep() here, but only does 2000 sec * or 33 minutes, which seems too short. */ sleep(1000000); Claudio Natoli
-
- 24 3月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
>>equivalent to "-h localhost", shouldn't it? >> >> > >Now that is something I had not thought of. Seems we can assume a Win32 >psql can never use unix domain sockets, so defaulting that to localhost >is a good solution too. Andrew Dunstan
-
- 22 3月, 2004 1 次提交
-
-
由 Tom Lane 提交于
errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
-
- 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.
-
- 13 2月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 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().
-
- 30 11月, 2003 1 次提交
-
-
由 PostgreSQL Daemon 提交于
$Header: -> $PostgreSQL Changes ...
-
- 30 9月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
> > a) Write documentation how the win32 console needs to be set up so that > > psql can handle 8-bit characters. > > Where should it be added? The Section "Installation on Windows" in the > > Administrator's Guide seems natural to me. > > > > b) Add code to psql that prints a warning on startup of psql when the > > console codepage differs from the windows codepage, something like > > > > Warning: Console codepage (850) differs from windows codepage (1252) > > 8-bit characters will not work correctly. See PostgreSQL > > documentation "Installation on Windows" for details. > Attached are two patches: - installdoc.patch contains an additional paragraph on the win32 console codepage for the chapter "Installation on Windows" Due to a lack of SGML-tools, I have only edited the text and not tested the SGML code - please check it before merging into the CVS branch. - psqlcodepage.patch adds the warning about a problematic codepage to psql. Christoph Dalitz
-
- 08 8月, 2003 1 次提交
-
-
由 Tom Lane 提交于
getopt_long(). This is more or less the same problem as we saw earlier with getaddrinfo() and struct addrinfo, and for the same reason: random user-added libraries might contain the subroutine, but there's no guarantee we will find the matching header files.
-
- 05 8月, 2003 1 次提交
-
-
由 Tom Lane 提交于
so it won't miss 'em again.
-
- 04 8月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 28 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
-
- 23 7月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 28 6月, 2003 1 次提交
-
-
由 Tom Lane 提交于
client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports SQL-spec commit behavior. Get rid of LO_TRANSACTION hack --- the LO operations just work now, using libpq's ability to track the transaction status. Add a VERBOSE variable to control verboseness of error message display, and add a %T prompt-string code to show current transaction-block status. Superuser state display in the prompt string correctly follows SET SESSION AUTHORIZATION commands. Control-C works to get out of COPY IN state.
-
- 05 4月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 20 3月, 2003 1 次提交
-
-
由 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
-
- 19 3月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
functions and global variables from the rest of psql. Also clean up some data type mismatches created by the last pager patch.
-
- 07 1月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 09 11月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
"traditional" behavior, so the change should be transparent. Use the command "\pset pager always" to turn it on. Anything else does the normal toggle between "on" and "off" Greg Sabino Mullane
-
- 19 10月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 23 9月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 06 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-