summaryrefslogtreecommitdiff
path: root/src/backend/tcop
Commit message (Collapse)AuthorAgeFilesLines
* Pass atttypmod to the frontend.Bruce Momjian1998-05-141-1/+2
|
* What I've done:Bruce Momjian1998-05-063-57/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Re-apply Darren's char2-16 removal code.Bruce Momjian1998-04-261-2/+2
|
* Back out char2-char16 removal. Add later.Bruce Momjian1998-04-071-2/+2
|
* Hi,Bruce Momjian1998-04-061-6/+4
| | | | | | | | | | | | | | | | | | | | | | Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
* The following uuencoded, gzip'd file will ...Bruce Momjian1998-03-301-2/+2
| | | | | | | | | | | 1. Remove the char2, char4, char8 and char16 types from postgresql 2. Change references of char16 to name in the regression tests. 3. Rename the char16.sql regression test to name.sql. 4. Modify the regression test scripts and outputs to match up. Might require new regression.{SYSTEM} files... Darren King
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-265-67/+75
|
* From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier1998-02-241-2/+6
| | | | | | | | | | | 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
* EState->->es_param_exec_vals = NULL; in CreateExecutorState().Vadim B. Mikheev1998-02-131-1/+2
|
* #if aix changed to #if HAVE_SYS_SELECT_HMarc G. Fournier1998-02-021-3/+3
|
* AIX patch from Darren King and Univel patch from Billy Allie, mostlyBruce Momjian1998-02-011-3/+3
| | | | related to grammar and parser issues, with one postmaster fix.
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-263-212/+25
| | | | | | | | | | | | | | | | | | | 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.
* getpid/pid cleanupBruce Momjian1998-01-252-5/+5
|
* Some *very* major changes by darrenk@insightdist.com (Darren King)Marc G. Fournier1998-01-131-31/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================================== 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.) ==========================================
* Fix from Peter for BLOBsMarc G. Fournier1998-01-111-2/+2
|
* Yohoo UNIONS of VIEWS.Bruce Momjian1998-01-091-2/+17
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-073-20/+20
|
* Move variable.c to commands/ and aclchk.c to catalog/.Bruce Momjian1998-01-054-1282/+4
|
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-053-47/+47
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-056-67/+67
|
* Coerce a function argument to avoid compiler warning.Thomas G. Lockhart1998-01-011-4/+6
|
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-201-5/+1
| | | | some of the ports...
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-191-4/+6
| | | | | | | | | Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
* Use environment variable PGDATESTYLE on backend startup to initializeThomas G. Lockhart1997-12-161-4/+33
| | | | date/time formats and conventions.
* Rename pg_plan and pg_eval to be more meaningful.Bruce Momjian1997-12-111-12/+15
|
* Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian1997-12-062-7/+7
|
* Add 'GERMAN' option to DateStyle.Thomas G. Lockhart1997-12-041-10/+20
|
* From: todd brandys <brandys@eng3.hep.uiuc.edu>Marc G. Fournier1997-12-041-1/+27
| | | | | An extension to the code to allow for a pg_password authentication database that is *seperate* from the system password file
* Prevent flushing from packets, by Massimo.Bruce Momjian1997-11-271-2/+1
|
* Break parser functions into smaller files, group together.Bruce Momjian1997-11-252-6/+7
|
* Move dbcommands.c to commands/. It should not be in the parser directory.Bruce Momjian1997-11-241-2/+2
|
* Remove tqual.h includes not needed.Bruce Momjian1997-11-241-1/+2
|
* More archive cleanup.Bruce Momjian1997-11-211-2/+1
|
* Remove archive stuff.Bruce Momjian1997-11-212-16/+3
|
* Remove all time travel stuff. Small parser cleanup.Bruce Momjian1997-11-201-3/+3
|
* Reformat parser table (cosmetic only).Thomas G. Lockhart1997-11-141-22/+8
|
* Do a more complete job of supporting time zone information.Thomas G. Lockhart1997-11-101-1/+6
| | | | | Try to save pre-existing TZ environment variable if possible. Includes code from Keith Parks.
* Change quickdie elog notice to a single message.Thomas G. Lockhart1997-11-102-27/+54
| | | | Clean up FloatExceptionHandler elog message source code.
* From: Bryan Henderson <bryanh@giraffe.netgate.net>Marc G. Fournier1997-11-091-7/+9
| | | | | | 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.
* Add Unix domain socket support, from Goran Thyni, goran@bildbasen.seBruce Momjian1997-11-071-12/+6
|
* Enable SET value = DEFAULT by passing null parameter to parsers.Thomas G. Lockhart1997-11-071-27/+85
| | | | Enable SET TIME ZONE using TZ environment variable.
* Support alternate database locations.Thomas G. Lockhart1997-11-071-2/+2
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-50/+2
|
* Add initial backend support for SET/SHOW/RESET TIME ZONE.Thomas G. Lockhart1997-10-301-4/+46
| | | | | Uses TZ environment variable. Needs additional schemes for brain-dead SQL92 time offsets.
* Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).Vadim B. Mikheev1997-10-281-4/+22
|
* Rename "TYPE" parser keyword token from P_TYPE to TYPE_P to conformThomas G. Lockhart1997-10-251-3/+3
| | | | to changes in parser.
* Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian1997-10-252-6/+6
|
* Fix alignment of source.Bruce Momjian1997-10-241-2/+2
|
* MOVE implementation.Vadim B. Mikheev1997-09-291-3/+4
|
* Inline memset() as MemSet().Bruce Momjian1997-09-183-9/+9
|