aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
Commit message (Collapse)AuthorAge
* From: Bryan Henderson <bryanh@giraffe.netgate.net>Marc G. Fournier1997-11-09
| | | | | | 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-07
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-02
|
* Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian1997-10-25
|
* Inline memset() as MemSet().Bruce Momjian1997-09-18
|
* No more SortTuplesInTree...Vadim B. Mikheev1997-09-18
|
* Allow set max number of tuples in leftist tree for sortsVadim B. Mikheev1997-09-18
| | | | (-S memory,tuples)
* -S need in optarg...Vadim B. Mikheev1997-09-15
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-08
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-08
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-07
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-19
| | | | NOT_USED.
* Cleanup global variables, remove stable memory stuff.Bruce Momjian1997-08-14
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-12
| | | | some (void) casts that are unnecessary.
* psort cleanups.Bruce Momjian1997-08-06
|
* Another fix.Bruce Momjian1997-08-06
|
* Allow internal sorts to be stored in memory rather than in files.Bruce Momjian1997-08-06
|
* Remove some unnecessary include statements (comment out with #ifdef FALSE).Thomas G. Lockhart1997-07-29
|
* Added SCO support, from Daniel Harris.Bruce Momjian1997-07-28
|
* Various compile errors concerning overflow due to shifts, unsigned, and bad ↵Bruce Momjian1997-07-24
| | | | prototypes, from Solaris, from Diab Jerius
* Somewhat backwards #ifdef's for HAVE_GETRUSAGEMarc G. Fournier1997-04-24
|
* Change HAVE_RUSAGE to HAVE_GETRUSAGE, which is the more appropriateMarc G. Fournier1997-04-23
|
* Remove WIN32 defines. They never worked.Bruce Momjian1997-02-14
|
* Patch from Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier1997-02-12
| | | | | | | | | | 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.
* Change references to NEED_RUSAGE to HAVE_RUSAGEMarc G. Fournier1997-02-03
| | | | Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>
* Apply usage patches for European Dates patch from KeithMarc G. Fournier1997-01-27
|
* Change next to nextstep where missed.Bruce Momjian1997-01-26
|
* Bring in a patch from Keith Parks to move the use of European datesMarc G. Fournier1997-01-26
| | | | | | from a #define to a run-time option '-e' Man page was updated to reflect new option
* Eliminate dupliclate definition of external variables reldesc and DataDir.Bryan Henderson1997-01-14
| | | | Some compilers recognize this error.
* pq/signal() portability patch. Also psql copy prompt fix.Bruce Momjian1996-12-26
|
* Reduce printing from debug level 2 ande layout change.Bruce Momjian1996-12-07
|
* Allow all empty queries to return EMPTY.Bruce Momjian1996-11-27
|
* Remove linux define of __USE_POSIX, which doesn't appear to do anything.Bryan Henderson1996-11-18
|
* Remove old GetPGData reference that causes warning.Bryan Henderson1996-11-16
|
* Remove most compile-time options, add a few runtime options to make up for it.Bryan Henderson1996-11-14
| | | | | | | 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.
* Warning removal cleanupBruce Momjian1996-11-11
|
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-10
|
* Quiet compiler warnings.Bryan Henderson1996-11-10
|
* Compile and warning cleanupBruce Momjian1996-11-08
|
* Remove OPENLINK defineBruce Momjian1996-11-04
|
* Produce a clean compile of backend...Marc G. Fournier1996-11-03
|
* more removal of PORTNAME_*Marc G. Fournier1996-10-31
|
* Fix memset() call, variables being passed in wrong order.Marc G. Fournier1996-10-30
| | | | Pointed out by: wieck@sapserv.debis.de
* Added consistent include file handling for MAXHOSTNAMELEN.Bruce Momjian1996-10-13
| | | | | If I have introduced any syntax errors with this, I will patch them in the morning, and Marc will have a good laugh.
* The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGSMarc G. Fournier1996-10-04
|
* There is a bug in the function executor. The backend crashes while trying toMarc G. Fournier1996-09-16
| | | | | | | | | | execute an sql function containing an utility command (create, notify, ...). The bug is part in the planner, which returns a number of plans different than the number of commands if there are utility commands in the query, and in part in the function executor which assumes that all commands are normal query commands and causes a SIGSEGV trying to execute commands without plan. Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
* Fixes:Marc G. Fournier1996-09-10
| | | | | | | | | | | | | | | | | | | | | The problem is that the function arguments are not considered as possible key candidates for index scan and so only a sequential scan is possible inside the body of a function. I have therefore made some patches to the optimizer so that indices are now used also by functions. I have also moved the plan debug message from pg_eval to pg_plan so that it is printed also for plans genereated for function execution. I had also to add an index rescan to the executor because it ignored the parameters set in the execution state, they were flagged as runtime variables in ExecInitIndexScan but then never used by the executor so that the scan were always done with any key=1. Very odd. This means that an index rescan is now done twice for each function execution which uses an index, the first time when the index scan is initialized and the second when the actual function arguments are finally available for the execution. I don't know what is the cost of an double index scan but I suppose it is anyway less than the cost of a full sequential scan, at leat for large tables. This is my patch, you must also add -DINDEXSCAN_PATCH in Makefile.global to enable the changes. Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
* More run-time checking errors:Marc G. Fournier1996-08-19
| | | | -Kurt
* Fixes:Marc G. Fournier1996-08-06
| | | | | | | | | | | | | | | | | | | | | | | I've enclosed two patches. The first affects Solaris compilability. The bug stems from netdb.h (where MAXHOSTNAMELEN is defined on a stock system). If the user has installed the header files from BIND 4.9.x, there will be no definition of MAXHOSTNAMELEN. The patch will, if all else fails, try to include <arpa/nameser.h> and set MAXHOSTNAMELEN to MAXDNAME, which is 256 (just like MAXHOSTNAMELEN on a stock system). The second patch adds aliases for "ISNULL" to "IS NULL" and likewise for "NOTNULL" to "IS NOT NULL". I have not removed the postgres specific ISNULL and NOTNULL. I noticed this on the TODO list, and figured it would be easy to remove. The full semantics are: [ expression IS NULL ] [ expression IS NOT NULL ] --Jason Submitted by: Jason Wright <jason@oozoo.vnet.net>
* More merges from Dr. George's tree...Marc G. Fournier1996-07-22
| | | | | | | | | - src/backend/tcop/* - cosmetic changes to OPENLINK patches - src/backend/storage/* - more changes, mostly cosmetic - src/backend/ports/* - merge in patches for aix and i386_solaris