- 25 Mar, 1997 2 commits
-
-
Marc G. Fournier authored
The first fixes a warning from gcc about the assignment within the condition. The extra set of parens should not make a difference, but with -Werror, they are necessary. The second fixes an "ln -s" invocation that assumes the current directory is implicitly the target if not specified. Not true in all cases, and again, it should not make a difference except to those implementation that it does. From: "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
-
Marc G. Fournier authored
nicer. Also, I grabbed my copy of the Informix manual, and added a couple of variables that make sense (formats for money, time, a language setting, a timezone). - New functions SetPGVariable() and GetPGVariable() in tcop/*. These don't actually do anything for the moment, but should be enough to implement the SET var_name TO var_val in the parser? SetPGVariable() expects just two strings, the var_name and the var_value from above, and is expected to do the right thing. Returns TRUE if everything okay. From: "Martin J. Laubach" <mjl@wwx.vip.at>
-
- 18 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
of common routines in pqcomprim.c (pq communication primitives). Not all adapted to it yet, but it's a start. - Rewritten some of those routines, to write/read bigger chunks of data, precomputing stuff in buffers instead of sending out byte by byte. - As a consequence, I need to know the endianness of the machine. Currently I rely on getting it from machine/endian.h, but this may not be available everywhere? (Who the hell thought it was a good idea to pass integers to the backend the other way around than the normal network byte order? *argl*) - Libpq looks in the environment for magic variables, and upon establishing a connection to the backend, sends it queries of the form "SET var_name TO 'var_value'". This needs a change in the backend parser (Mr. Parser, are you there? :) - Currently it looks for two Env-Vars, namely PG_DATEFORMAT and PG_FLOATFORMAT. What else makes sense? PG_TIMEFORMAT? PG_TIMEZONE? From: "Martin J. Laubach" <mjl@wwx.vip.at>
-
- 12 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] password authentication This patch adds support for plaintext password authentication. To use it, you add a line like host all 0.0.0.0 0.0.0.0 password pg_pwd.conf to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing the usernames and password hashes in the format of the first two fields of a Unix /etc/passwd file. (Of course, you can use a specific database name or IP instead.) Then, to connect with a password through libpq, you use the PQconnectdb() function, specifying the "password=" tag in the connect string and also adding the tag "authtype=password". I also added a command-line switch '-u' to psql that tells it to prompt for a username and password and use password authentication.
-
- 13 Feb, 1997 1 commit
-
-
Marc G. Fournier authored
Replaced NEED_STRDUP by !HAVE_STRDUP
-
- 28 Nov, 1996 1 commit
-
-
Bryan Henderson authored
-
- 26 Nov, 1996 2 commits
-
-
Bryan Henderson authored
-
Bryan Henderson authored
-
- 14 Nov, 1996 1 commit
-
-
Bryan Henderson authored
In particular, no more compiled-in default for PGDATA or LIBDIR. Commands that need them need either invocation options or environment variables. PGPORT default is hardcoded as 5432, but overrideable with options or environment variables.
-
- 11 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
following is the patch to libpq's large object interface that removes the requirement to include fmgr.h into fe-lobj.c. The large object interface now ask's the backend to tell the OID's of all the required functions in pg_proc. From: wieck@sapserv.debis.de (Jan Wieck)
-
- 10 Nov, 1996 2 commits
-
-
Bruce Momjian authored
-
Bryan Henderson authored
-
- 09 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
-
- 04 Nov, 1996 1 commit
-
-
Bruce Momjian authored
-
- 03 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
cc -shared, I believe...
-
- 29 Oct, 1996 1 commit
-
-
Bryan Henderson authored
-
- 16 Oct, 1996 1 commit
-
-
Bryan Henderson authored
Thanks D'Arcy.
-
- 15 Oct, 1996 1 commit
-
-
Bryan Henderson authored
-
- 10 Oct, 1996 1 commit
-
-
Bryan Henderson authored
-
- 19 Aug, 1996 2 commits
-
-
Marc G. Fournier authored
-Kurt
-
Marc G. Fournier authored
When you connect to a database with PQsetdb, as with psql, depending on how your uninitialized variables are set, you can get a failure with a "There is no connection to the backend" message. The fix is to move a call to PQexec() from inside connectDB() to PQsetdb() after connectDB() returns to PQsetdb(). That way a connection doesn't have to be already established in order to establish it! From: bryanh@giraffe.netgate.net (Bryan Henderson)
-
- 10 Aug, 1996 1 commit
-
-
Marc G. Fournier authored
Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
-
- 06 Aug, 1996 1 commit
-
-
Marc G. Fournier authored
Here are a few minor fixes to Postgres95. Mostly I have added const to some of the char pointers. There was also a missing header file and a place where it looks like "==" was used when "=" was meant. I also changed some variables from Pfin and Pfout tp pfin and pfout because the latter shadow global variables and that just seems like an unsafe practice which I like to avoid. Submitted by: "D'Arcy J.M. Cain" <darcy@druid.druid.com>
-
- 23 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
Most of the changes in here look to b epurely cosmetic, and don't affect anything... ...and some stuff is completely questionable...in that I may have reversed some of the stuf fwe already had :(
-
- 19 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
doesn't free the buffer allocated by this function. - submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
-
- 12 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
submitted by: Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
-
- 09 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
-