summaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAgeFilesLines
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-26230-5111/+5532
|
* Fix 6.X vacuum bug in shrinking code.Vadim B. Mikheev1998-02-251-15/+11
|
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-2516-120/+120
| | | | | | | | | | seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
* pgindent changes for Thomas proc/lock cleanupBruce Momjian1998-02-251-3/+3
|
* Fix for locking problems an dpriority.Bruce Momjian1998-02-241-4/+5
|
* From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier1998-02-246-7/+394
| | | | | | | | | | | 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
* From: t-ishii@sra.co.jpMarc G. Fournier1998-02-242-2/+111
| | | | | | | | | | | | | | | | Ok. I have decided to use: #if defined(sun) && if defined(sparc) && !defined(__svr4) instead of defined(sunos4). interfaces/libpq/libpq-fe.h and include/c.h have been modified(see included patches). Another porblems I have found are: o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD and place it under backend/port. necessary modifications have been also made to backend/port/Makefile.in, include/config.h.in and configure.in (see included patches).
* Various fixes for string.h vs strings.hMarc G. Fournier1998-02-241-10/+13
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* Remove #include "port-protos.h", since we no longer use itMarc G. Fournier1998-02-241-6/+1
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* There is no more 'port-protos.h', so don't try to include itMarc G. Fournier1998-02-244-40/+3
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* Forgot about the svr4 dynloader stuffMarc G. Fournier1998-02-242-0/+38
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-242-12/+13
| | | | | | So if the relname is given to acldefault() in utils/adt/acl.c, it can do a IsSystemRelationName() on it and return ACL_RD instead of ACL_WORLD_DEFAULT.
* Quick cleanupsMarc G. Fournier1998-02-231-2/+3
|
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-234-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | | The diff looks so simple and easy. But to find it wasn't fun. It must have been there for a long time. What happened: When a tuple in one of some central catalogs was updated, the referenced relation got flushed, so it would be reopened on the next access (to reflect new triggers, rules and table structure changes into the relation cache). Some data (the tupleDescriptor e.g.) is used in the system cache too. So when a relation is subject to the system cache, this must know too that a cached system relation got flushed because the tupleDesc data gets freed during the flush! For the GRANT/REVOKE on pg_class it was slightly different. There is some local data in inval.c that gets initialized on the first invalidation of a tuple in some central catalogs. This needs a SysCache lookup in pg_class. But when the first of all commands is a GRANT on pg_class, exactly the needed tuple is the one actually invalidated. So I added little code snippets that the initialization of the local variables in inval.c will already happen during InitPostgres().
* Remove libpq README.Bruce Momjian1998-02-231-446/+0
|
* Fix relation path constraction in mdblindwrt().Vadim B. Mikheev1998-02-231-12/+25
|
* Remind people of view permissions, and install libpq README.Bruce Momjian1998-02-231-0/+446
|
* ExecReScan for Unique & Sort nodes.Vadim B. Mikheev1998-02-234-8/+77
|
* Partial fix for select distinct in subselect.Bruce Momjian1998-02-231-2/+5
|
* Change:Marc G. Fournier1998-02-211-2/+2
| | | | | | | | | | | #define TAPETEMP "pg_btsortXXXXXX" to: #define TAPETEMP "pg_btsortXXXXXXX" For some reason, under FreeBSD, it appears that the mktemp() value needs the extra 'X' to improve/ensure uniqueness
* Add handling for new RangeTblEntry column name.Bruce Momjian1998-02-212-9/+24
|
* Constlen can be -1, so make it a signed type.Bruce Momjian1998-02-213-9/+9
|
* First step done,Marc G. Fournier1998-02-215-14/+124
| | | | | | | | | | | | | | | | | | | below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
* *** empty log message ***Marc G. Fournier1998-02-201-31/+0
|
* Password fix. Now people have to do the REVOKE themselves.Bruce Momjian1998-02-191-0/+34
|
* FIFO lock wait queue, with readers grouped together.Bruce Momjian1998-02-191-12/+34
|
* Various minor modes for i386_solarisMarc G. Fournier1998-02-191-1/+2
|
* Fix for InitPlan-s: have to copy subselect' result tuple.Vadim B. Mikheev1998-02-191-0/+12
|
* New nodeGroup.c code uses own copy of first tuple in a group.Vadim B. Mikheev1998-02-182-88/+66
| | | | Free memory after comparison in nodeUnique.c
* Start shipping gram.y products gram.c and parse.h to avoid having to buildThomas G. Lockhart1998-02-181-2/+4
| | | | | them from scratch. gram.y has now grown so that some non-bison yaccs (including FreeBSDs) run out of room and quit.
* Include products of gram.y to allow systems without bison to build Postgres.Thomas G. Lockhart1998-02-182-0/+10206
| | | | The parser recently grew too big for some yaccs, including FreeBSD.
* Allow LIKE expression in constraint clause.Thomas G. Lockhart1998-02-181-1/+5
| | | | Allow USER and VALID as column names and identifiers.
* Fix parsing for <identifier>-<number> which was mis-identified as a unaryThomas G. Lockhart1998-02-182-179/+229
| | | | minus. Example is SELECT f1-2 FROM INT4_TBL;
* Fix from Vadim for simple-minded case SELECT 1 WHERE 1 IN (SELECT 1)Thomas G. Lockhart1998-02-181-2/+3
| | | | used in regression tests. No longer core dumps.
* Fix useor for (a,b...) Op ANY/ALLVadim B. Mikheev1998-02-181-3/+9
|
* Just another missing dummy fileMarc G. Fournier1998-02-171-0/+4
|
* 2. IRIX has both HAVE_FPCLASS and HAVE_FP_CLASS, therefore, inMarc G. Fournier1998-02-171-7/+8
| | | | | | | | backend/port/isinf.c it tries to compile two versions of isinf(). From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
* From: Brian E Gallew <geek+@cmu.edu>Marc G. Fournier1998-02-142-109/+16
| | | | | | | | dgux 5.4R4.11 Missing port-protos.h (not needed, I think). Wants dld.h. Should really use the system dl stuff (like i386_solaris). Needs to include <netinet/in.h> before <arpa/inet.h>. Here are some patches...
* From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier1998-02-141-4/+4
| | | | | | | The file 'backend/utils/adt/arrayfuncs.c' won't compile with the February 14th snapshot, because of an inconsistency between the declaration and implementation of ReadArrayStr(). As far as I can tell, the predeclaration is wrong. I assume this is what was meant:
* Atttypmod cleanup.Bruce Momjian1998-02-135-25/+25
|
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-131-2/+2
| | | | | | | | | Someone changed the parser to build a TypeName node on CREATE FUNCTION in any case. As a side effect, ALL! functions created got the proretset attribute to true. Thus for a SELECT the parser wrapped an Iter node around the Expr and since singleton functions set isDone the Iter returns no tuple up.
* gram.y: ALL_SUBLINK type was returned for x Op (subquery).Vadim B. Mikheev1998-02-132-158/+169
| | | | parse_expr.c: only Op of bool type are supported currently...
* From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier1998-02-132-5/+6
| | | | | | | | | Apart from this Makefile hack, all I've done is to make dynamically loaded code modules fail properly (as was already done for __mips__, although I think this is too loose: I believe NetBSD for the pmax can do dynamic linking), and to add test-and-set lock handling. As Bruce suggested, this is done in a maximally efficient inlined way: I was not aware that this code was so important, speed-wise.
* EState->->es_param_exec_vals = NULL; in CreateExecutorState().Vadim B. Mikheev1998-02-131-1/+2
|
* Fix for EXISTS.Vadim B. Mikheev1998-02-131-17/+21
|
* Support for subselects.Vadim B. Mikheev1998-02-133-22/+42
|
* Call union_planner() instead of planner().Vadim B. Mikheev1998-02-131-6/+6
|
* Old planner() becomes union_planner(); new planner() makes initializationVadim B. Mikheev1998-02-136-20/+625
| | | | | | | of some global variables to support subselects and calls union_planner(). Calls to SS_replace_correlation_vars() and SS_process_sublinks() in query_planner() before planning. Get rid of #ifdef INDEXSCAN_PATCH in createplan.c.
* Quite limited support for subselects in clausesel.c.Vadim B. Mikheev1998-02-132-15/+12
| | | | Get rid of #ifdef INDEXSCAN_PATCH in indxpath.c.
* Support for subselects.Vadim B. Mikheev1998-02-134-5/+88
| | | | (Have to re-visit readfuncs.c)