summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
AgeCommit message (Collapse)Author
1998-06-27Fix for hang after postmaster restart. Add new proc_exit andBruce Momjian
shmem_exit to replace exitpg().
1998-06-16Hi, here are the patches to enhance existing MB handling. This timeBruce Momjian
I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii
1998-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-06-09Another for for exec() removal and finding binaries.Bruce Momjian
1998-06-08Fixed exec path problem.Bruce Momjian
1998-06-04Show backend status on ps command line. Remove unused args fromBruce Momjian
pg_exec_query().
1998-05-29Remove fork()/exec() and only do fork(). Small cleanups.Bruce Momjian
1998-05-27postmaster/postgres options cleanup.Bruce Momjian
1998-05-26Fix for postgres started from command line, sends 'Z' protocolBruce Momjian
flag.
1998-05-19Allow cancel from client of backend query. Change some int variablesBruce Momjian
to bool's.
1998-05-06What I've done:Bruce Momjian
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
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-24From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier
What it does: It solves stupid problem with cyrillic charsets IP-based on-fly recoding. take a look at /data/charset.conf for details. You can use any tables for any charset. Tables are from Russian Apache project. Tables in this patch contains also Ukrainian characters. Then run ./configure --enable-recode
1998-02-02#if aix changed to #if HAVE_SYS_SELECT_HMarc G. Fournier
1998-02-01AIX patch from Darren King and Univel patch from Billy Allie, mostlyBruce Momjian
related to grammar and parser issues, with one postmaster fix.
1998-01-26From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
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.
1998-01-25getpid/pid cleanupBruce Momjian
1998-01-13Some *very* major changes by darrenk@insightdist.com (Darren King)Marc G. Fournier
========================================== What follows is a set of diffs that cleans up the usage of BLCKSZ. As a side effect, the person compiling the code can change the value of BLCKSZ _at_their_own_risk_. By that, I mean that I've tried it here at 4096 and 16384 with no ill-effects. A value of 4096 _shouldn't_ affect much as far as the kernel/file system goes, but making it bigger than 8192 can have severe consequences if you don't know what you're doing. 16394 worked for me, _BUT_ when I went to 32768 and did an initdb, the SCSI driver broke and the partition that I was running under went to hell in a hand basket. Had to reboot and do a good bit of fsck'ing to fix things up. The patch can be safely applied though. Just leave BLCKSZ = 8192 and everything is as before. It basically only cleans up all of the references to BLCKSZ in the code. If this patch is applied, a comment in the config.h file though above the BLCKSZ define with warning about monkeying around with it would be a good idea. Darren darrenk@insightdist.com (Also cleans up some of the #includes in files referencing BLCKSZ.) ==========================================
1998-01-09Yohoo UNIONS of VIEWS.Bruce Momjian
1998-01-07Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1997-12-16Use environment variable PGDATESTYLE on backend startup to initializeThomas G. Lockhart
date/time formats and conventions.
1997-12-11Rename pg_plan and pg_eval to be more meaningful.Bruce Momjian
1997-11-25Break parser functions into smaller files, group together.Bruce Momjian
1997-11-10Change quickdie elog notice to a single message.Thomas G. Lockhart
Clean up FloatExceptionHandler elog message source code.
1997-11-09From: Bryan Henderson <bryanh@giraffe.netgate.net>Marc G. Fournier
My analysis of the formerly mentioned IPC reinitialization problem was hampered by an imprecise error message. I have rewritten it so it is clearer and more accurate.
1997-11-07Add Unix domain socket support, from Goran Thyni, goran@bildbasen.seBruce Momjian
1997-11-02Good Bye, Time Travel!Vadim B. Mikheev
1997-10-25Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian
1997-09-18Inline memset() as MemSet().Bruce Momjian
1997-09-18No more SortTuplesInTree...Vadim B. Mikheev
1997-09-18Allow set max number of tuples in leftist tree for sortsVadim B. Mikheev
(-S memory,tuples)
1997-09-15-S need in optarg...Vadim B. Mikheev
1997-09-08Used modified version of indent that understands over 100 typedefs.Bruce Momjian
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-08-19Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian
NOT_USED.
1997-08-14Cleanup global variables, remove stable memory stuff.Bruce Momjian
1997-08-12Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian
some (void) casts that are unnecessary.
1997-08-06psort cleanups.Bruce Momjian
1997-08-06Another fix.Bruce Momjian
1997-08-06Allow internal sorts to be stored in memory rather than in files.Bruce Momjian
1997-07-29Remove some unnecessary include statements (comment out with #ifdef FALSE).Thomas G. Lockhart
1997-07-28Added SCO support, from Daniel Harris.Bruce Momjian
1997-07-24Various compile errors concerning overflow due to shifts, unsigned, and bad ↵Bruce Momjian
prototypes, from Solaris, from Diab Jerius
1997-04-24Somewhat backwards #ifdef's for HAVE_GETRUSAGEMarc G. Fournier
1997-04-23Change HAVE_RUSAGE to HAVE_GETRUSAGE, which is the more appropriateMarc G. Fournier
1997-02-14Remove WIN32 defines. They never worked.Bruce Momjian
1997-02-12Patch from Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier
The following patches add to the backend a new debugging flag -K which prints a debug trace of all locking operations on user relations (those with oid greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined, so the patch should be harmless if not explicitly enabled. I'm using the code to trace deadlock conditions caused by application queries using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'. The patches are for version 6.0 dated 970126.
1997-02-03Change references to NEED_RUSAGE to HAVE_RUSAGEMarc G. Fournier
Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>