summaryrefslogtreecommitdiff
path: root/src/backend/tcop
Commit message (Collapse)AuthorAgeFilesLines
...
* No more SortTuplesInTree...Vadim B. Mikheev1997-09-181-22/+6
|
* Allow set max number of tuples in leftist tree for sortsVadim B. Mikheev1997-09-181-4/+26
| | | | (-S memory,tuples)
* -S need in optarg...Vadim B. Mikheev1997-09-151-3/+3
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-085-27/+28
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-081-5/+5
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-087-1369/+1380
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-077-3408/+3728
|
* CREATE/DROP TRIGGERVadim B. Mikheev1997-08-311-1/+19
|
* New results destination for SPI manager.Vadim B. Mikheev1997-08-291-1/+7
|
* Clean CommandInfo after posting to client.Vadim B. Mikheev1997-08-281-1/+2
|
* Number of tuples inserted/affected by INSERT/UPDATE/DELETE...Vadim B. Mikheev1997-08-272-50/+25
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-194-10/+19
| | | | NOT_USED.
* Now that names are null terminated, no need to do all that NAMEDATALEN stuff.Bruce Momjian1997-08-182-34/+34
|
* Reduce open() calls. Replace fopen() calls with calls to fd.c functions.Bruce Momjian1997-08-181-6/+4
|
* Cleanup global variables, remove stable memory stuff.Bruce Momjian1997-08-141-23/+6
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-122-4/+4
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-122-10/+8
| | | | some (void) casts that are unnecessary.
* psort cleanups.Bruce Momjian1997-08-061-4/+4
|
* Another fix.Bruce Momjian1997-08-061-4/+4
|
* Allow internal sorts to be stored in memory rather than in files.Bruce Momjian1997-08-061-3/+15
|
* Remove some unnecessary include statements (comment out with #ifdef FALSE).Thomas G. Lockhart1997-07-291-2/+8
|
* Added SCO support, from Daniel Harris.Bruce Momjian1997-07-281-2/+5
|
* Various compile errors concerning overflow due to shifts, unsigned, and bad ↵Bruce Momjian1997-07-242-5/+5
| | | | prototypes, from Solaris, from Diab Jerius
* Fix broken parsing for lists of options. Apparently broken when support wasThomas G. Lockhart1997-06-201-57/+59
| | | | added for keyword=value options.
* SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, notVadim B. Mikheev1997-06-031-2/+2
| | | | | to last specified with 'on' #. What is better ?
* SET var TO 'a=b'Vadim B. Mikheev1997-06-021-30/+127
| | | | | ^^ is supported by get_token now. (SET geqo TO 'on=XXX' works now).
* From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier1997-05-222-5/+53
| | | | | | | | Subject: [PATCHES] DROP AGGREGATE patch/fix. Here's a patch that fixes the DROP AGGREGATE command to delete the desired aggregate for a specific type.
* New VAR r_plans added to enable turn ON/OFFVadim B. Mikheev1997-05-201-1/+37
| | | | using right-sided plans.
* Improve informational messages for "show" command responses.Thomas G. Lockhart1997-05-161-5/+17
|
* SET geqo TO ON|OFFVadim B. Mikheev1997-04-291-1/+37
|
* Enable to set _cpu_page_wight_ & _cpu_index_page_wight_ viaVadim B. Mikheev1997-04-241-1/+54
| | | | SET cost_heap(cost_index) TO ...
* -Wno-error should only be enabled for gcc compilers, it seemsMarc G. Fournier1997-04-241-2/+6
|
* Somewhat backwards #ifdef's for HAVE_GETRUSAGEMarc G. Fournier1997-04-241-4/+4
|
* Change HAVE_RUSAGE to HAVE_GETRUSAGE, which is the more appropriateMarc G. Fournier1997-04-231-7/+7
|
* 1. SHOW/RESET var fixed.Vadim B. Mikheev1997-04-232-65/+9
| | | | 2. vacuum() call changed (ANALYZE).
* To: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>Marc G. Fournier1997-04-232-17/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: Re: [PATCHES] SET DateStyle patches On Tue, 22 Apr 1997, Thomas Lockhart wrote: > Some more patches! These (try to) finish implementing SET variable TO value > for "DateStyle" (changed the name from simply "date" to be more descriptive). > This is based on code from Martin and Bruce (?), which was easy to modify. > The syntax is > > SET DateStyle TO 'iso' > SET DateStyle TO 'postgres' > SET DateStyle TO 'sql' > SET DateStyle TO 'european' > SET DateStyle TO 'noneuropean' > SET DateStyle TO 'us' (same as "noneuropean") > SET DateStyle TO 'default' (current same as "postgres,us") > > ("european" is just compared for the first 4 characters, and "noneuropean" > is compared for the first 7 to allow less typing). > > Multiple arguments are allowed, so SET datestyle TO 'sql,euro' is valid. > > My mods also try to implement "SHOW variable" and "RESET variable", but > that part just core dumps at the moment. I would guess that my errors > are obvious to someone who knows what they are doing with the parser stuff, > so if someone (Bruce and/or Martin??) could have it do the right thing > we will have a more complete set of what we need. > > Also, I would like to have a floating point precision global variable to > implement "SET precision TO 10" and perhaps "SET precision TO 10,2" for > float8 and float4, but I don't know how to do that for integer types rather > than strings. If someone is fixing the SHOW and RESET code, perhaps they can > add some hooks for me to do the floats while they are at it. > > I've left some remnants of variable structures in the source code which > I did not use in the interests of getting something working for v6.1. > We'll have time to clean things up for the next release...
* From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>Marc G. Fournier1997-04-171-1/+139
| | | | | | | | | | | | | | | Subject: [HACKERS] Patch: set date to euro/us postgres/iso/sql Here a patch that implements a SET date for use by the datetime stuff. The syntax is SET date TO 'val[,val,...]' where val is us (us dates), euro (european dates), postgres, iso or sql. Thomas is working on the integration in his datetime module. I just needed to get the patch out before it went stale :)
* This commit represents a clean compile with the new templates underMarc G. Fournier1997-04-041-2/+2
| | | | | | | | | FreeBSD The Makefile(s) have all been cleaned up such that there is a single LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE. The Makefile(s) should be alot more straightforward then they were before...and consistent
* Remove code associated with !ACLGROUP_PATCH, and appropriate #ifdef'sMarc G. Fournier1997-04-031-13/+1
|
* From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>Marc G. Fournier1997-04-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Subject: [HACKERS] Aggregate function patches Here are the aggregate function patches I originally sent in last December. They fix sum() and avg() behavior for ints and floats when NULL values are involved. I was waiting to resubmit these until I had a chance to write a v6.0->v6.1 database upgrade script to ensure that existing v6.0 databases which have not been reloaded for v6.1 do no break with the new aggregate behavior. These scripts are included below. It's OK with me if someone wants to do something different with the upgrade strategy, but something like this was discussed a few weeks ago. Also, there were a couple of small items which cropped up in doing a clean install of 970403 (actually 970402 + 970403 changes since the full 970403 tar file appears to be damaged or at least suspect). They are the first two patches below and can be omitted if desired (although I think they aren't dangerous :).
* From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>Marc G. Fournier1997-04-022-3/+16
| | | | | | | | | | | Subject: [HACKERS] Patch: SET var TO 'val' Here is a patch that adds a "SET variable TO 'somevalue'" capability to the parser, and then calls the SetPGVariable() function (which does just issue a elog(NOTICE) to see whether it works). That's the framework for adding timezone/date format/language/... stuff.
* From: Oleg Bartunov <oleg@sai.msu.su>Marc G. Fournier1997-04-021-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Subject: [HACKERS] locale patches ! Hi there, here are little patches to get Postgres 6.1 works with locale stuff. This is a patch against 970402.tar.gz, there are no problem to apply them by hand to 6.0 release. Collate stuff tested about 1-2 months in real working database but I'm sure there must be no problem. US hackers could vote against locale implementation ( locale for sure will affect to speed of postgres ), so I introduce variable USE_LOCALE which controls locale stuff. Non-US users now could use ~* operator for searching and <order by> for strings with nation alphabet. Please, don't forget, as I did first time, to set environment variable LC_CTYPE and LC_COLLATE because backend get locale information from them. I start postmaster from a little script, assuming that shell is Bash shell it looks like: #!/bin/sh export LC_CTYPE=koi8-r export LC_COLLATE=koi8-r postmaster -B 1024 -S -D/usr/local/pgsql/data/ -o '-Fe'
* Call DefineSequence () for T_CreateSeqStmt node.Vadim B. Mikheev1997-04-021-2/+25
|
* MIssed adding a file to the repositoryMarc G. Fournier1997-03-251-0/+12
|
* - Renamed the variable names to something shorter, and I hopeMarc G. Fournier1997-03-251-2/+2
| | | | | | | | | | | | | | | | | | 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>
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-121-2/+2
| | | | | | | | | | Subject: [HACKERS] linux/alpha patches These patches lay the groundwork for a Linux/Alpha port. The port doesn't actually work unless you tweak the linker to put all the pointers in the first 32 bits of the address space, but it's at least a start. It implements the test-and-set instruction in Alpha assembly, and also fixes a lot of pointer-to-integer conversions, which is probably good anyway.
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-122-24/+38
| | | | | | | | Subject: [HACKERS] better access control error messages This patch replaces the 'no such class or insufficient privilege' with distinct error messages that tell you whether the table really doesn't exist or whether access was denied.
* Remove WIN32 defines. They never worked.Bruce Momjian1997-02-141-44/+4
|
* Patch from Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier1997-02-121-4/+21
| | | | | | | | | | 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-031-7/+7
| | | | Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>