- 12 Jan, 1999 1 commit
-
-
Marc G. Fournier authored
From: Magnus Hagander <mha@sollentuna.net> Here's another patch for the libpq backend areas. This patch removes all usage of "FILE *" on the communications channel. It also cleans up the comments and headers in the pqcomm.c file - a lot of things were either missing or incorrect. Finally, it removes a couple of unused functions (leftovers from the time of shared code between the libpq backend and frontend).
-
- 01 Sep, 1998 1 commit
-
-
Bruce Momjian authored
-
- 29 Aug, 1998 1 commit
-
-
Bruce Momjian authored
Here is a new patch for libpq, to make it work on Win32 again (since the latest modifications broke it a little). Please also add the file "libpq.rc" to the interfaces/libpq directory. This will allow version-stamping of the generated DLL file, so that automatic install programs (and interested users) can determine the version of the file. The file is currently set as "prerelease". Before the release, somebody should change the line "FILEFLAGS VS_FF_PRERELEASE" to "FILEFLAGS 0". That information should probably go into toos\RELEASE_CHANGES. The patch is against the cvs as of ~ 1998-08-26 14:30 CEST. //Magnus
-
- 22 Aug, 1998 1 commit
-
-
Bruce Momjian authored
Here are additional patches for the UnixWare 7 port. Summary of changes: In pqcomm.h, use the SUN_LEN macro if it is defined to calculate the size of the sockaddr_un structure. In unixware.h, drop the use of the UNIXWARE macro. Everything can be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros. In s_lock.h, remove the reference to the UNIXWARE macro (see above). In the unixware template, add the YFLAGS:-d line. In various makefile templates, add (or cleanup) unixware and univel port specific information. -- Billy G. Allie
-
- 09 Jul, 1998 1 commit
-
-
Marc G. Fournier authored
From: Tom Lane <tgl@sss.pgh.pa.us> Making PQrequestCancel safe to call in a signal handler turned out to be much easier than I feared. So here are the diffs. Some notes: * I modified the postmaster's packet "iodone" callback interface to allow the callback routine to return a continue-or-drop-connection return code; this was necessary to allow the connection to be closed after receiving a Cancel, rather than proceeding to launch a new backend... Being a neatnik, I also made the iodone proc have a typechecked parameter list. * I deleted all code I could find that had to do with OOB. * I made some edits to ensure that all signals mentioned in the code are referred to symbolically not by numbers ("SIGUSR2" not "2"). I think Bruce may have already done at least some of the same edits; I hope that merging these patches is not too painful.
-
- 06 May, 1998 1 commit
-
-
Bruce Momjian authored
1. Rewritten libpq to allow asynchronous clients. 2. Implemented client side of cancel protocol in library, and patched psql.c to send a cancel request upon SIGINT. The backend doesn't notice it yet :-( 3. Implemented 'Z' protocol message addition and renaming of copy in/out start messages. These are implemented conditionally, ie, the client protocol version is checked; so the code should still work with 1.0 clients. 4. Revised protocol and libpq sgml documents (don't have an SGML compiler, though, so there may be some markup glitches here). What remains to be done: 1. Implement addition of atttypmod field to RowDescriptor messages. The client-side code is there but ifdef'd out. I have no idea what to change on the backend side. The field should be sent only if protocol >= 2.0, of course. 2. Implement backend response to cancel requests received as OOB messages. (This prolly need not be conditional on protocol version; just do it if you get SIGURG.) 3. Update libpq.3. (I'm hoping this can be generated mechanically from libpq.sgml... if not, will do it by hand.) Is there any other doco to fix? 4. Update non-libpq interfaces as necessary. I patched libpgtcl so that it would compile, but haven't tested it. Dunno what needs to be done with the other interfaces. Have at it! Tom Lane
-
- 02 Mar, 1998 1 commit
-
-
Marc G. Fournier authored
From: t-ishii@sra.co.jp
-
- 26 Feb, 1998 1 commit
-
-
Bruce Momjian authored
-
- 28 Jan, 1998 1 commit
-
-
Bruce Momjian authored
offsetof() addition to local socket size.
-
- 27 Jan, 1998 2 commits
-
-
Bruce Momjian authored
(void) change for aix and hp compilers. protocol cleanup.
-
Bruce Momjian authored
-
- 26 Jan, 1998 1 commit
-
-
Marc G. Fournier authored
I've completed the patch to fix the protocol and authentication issues I was discussing a couple of weeks ago. The particular changes are: - the protocol has a version number - network byte order is used throughout - the pg_hba.conf file is used to specify what method is used to authenticate a frontend (either password, ident, trust, reject, krb4 or krb5) - support for multiplexed backends is removed - appropriate changes to man pages - the -a switch to many programs to specify an authentication service no longer has any effect - the libpq.so version number has changed to 1.1 The new backend still supports the old protocol so old interfaces won't break.
-
- 24 Jan, 1998 1 commit
-
-
Bruce Momjian authored
-
- 04 Dec, 1997 1 commit
-
-
Marc G. Fournier authored
An extension to the code to allow for a pg_password authentication database that is *seperate* from the system password file
-
- 07 Nov, 1997 1 commit
-
-
Bruce Momjian authored
-
- 12 Sep, 1997 1 commit
-
-
Bruce Momjian authored
-
- 08 Sep, 1997 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
-
- 07 Sep, 1997 1 commit
-
-
Bruce Momjian authored
-
- 20 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] libpq/pqcomm stuff and Solaris byte order I decided to go ahead with the required changes since no one else seems to. I don't guarantee that it is perfect but with these changes the package actually compiles. While I was at it I added to the Sparc Solaris header to define the byte order. Note that NetBSD sets this in the system headers so it wasn't required there. In particular, someone may want to check whether I removed the correct 84 lines from backend/libpq/pqcomprim.c.
-
- 16 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] Patch for io routines I am currently trying to improve on the front-backend communication routines; and noticed that lots of code are duplicated for libpq and the backend. This is a first patch that tries to share code between the two, more to follow. mjl
-
- 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.
-
- 11 Feb, 1997 1 commit
-
-
Bruce Momjian authored
-
- 26 Dec, 1996 1 commit
-
-
Bryan Henderson authored
gets included by libpq-fe.h, and thus is part of the API.
-
- 05 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
-
- 31 Oct, 1996 1 commit
-
-
Marc G. Fournier authored
#include "postgres.h" #include "c.h"
-
- 23 Oct, 1996 1 commit
-
-
Marc G. Fournier authored
-
- 11 Oct, 1996 1 commit
-
-
Bryan Henderson authored
-
- 28 Aug, 1996 1 commit
-
-
Marc G. Fournier authored
- code compile tested, but due to a yet unresolved problem with parse.h's creation, compile not completed...
-
- 09 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
-