summaryrefslogtreecommitdiff
path: root/src/backend/commands
AgeCommit message (Collapse)Author
1998-04-26Re-apply Darren's char2-16 removal code.Bruce Momjian
1998-04-07Back out char2-char16 removal. Add later.Bruce Momjian
1998-04-06Hi,Bruce Momjian
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
1998-04-05Remove GetDatabaseName/Path and use globals. Make consts later.Bruce Momjian
1998-04-01remove the call to port-protos.h ...Marc G. Fournier
1998-03-30The following uuencoded, gzip'd file will ...Bruce Momjian
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
1998-03-30The buffer overrun while creating sequences turns out to be a readBruce Momjian
access overrun. For the sake of doing things properly here is a patch which fixes it. This patch is for the file backend/commands/sequence.c. Maurice Gittens
1998-03-30There's a patch attached to fix gcc 2.8.x warnings, except for theBruce Momjian
yyerror ones from bison. It also includes a few 'enhancements' to the C programming style (which are, of course, personal). The other patch removes the compilation of backend/lib/qsort.c, as qsort() is a standard function in stdlib.h and can be used any where else (and it is). It was only used in backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c, and backend/storage/page/bufpage.c > > Some or all of these changes might not be appropriate for v6.3, since we > > are in beta testing and since they do not affect the current functionality. > > For those cases, how about submitting patches based on the final v6.3 > > release? There's more to come. Please review these patches. I ran the regression tests and they only failed where this was expected (random, geo, etc). Cheers, Jeroen
1998-03-06pg_user cleanup.Bruce Momjian
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-25Fix 6.X vacuum bug in shrinking code.Vadim B. Mikheev
1998-02-25From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
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.
1998-02-19Password fix. Now people have to do the REVOKE themselves.Bruce Momjian
1998-02-13Atttypmod cleanup.Bruce Momjian
1998-02-13From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
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.
1998-02-13Support for subselects.Vadim B. Mikheev
1998-02-11Goodbye register keyword. Compiler knows better.Bruce Momjian
1998-02-10Pass around typmod as int16.Bruce Momjian
1998-02-10Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian
1998-02-07Atttypmod cleanups.Bruce Momjian
1998-02-07atttypmod now -1.Bruce Momjian
1998-02-03Vacuum parameter fix.Bruce Momjian
1998-02-03Subselects with =, >, etc.Bruce Momjian
Cleanup for vacuum help, manual page, and error message
1998-02-03Supress call to tzset() in reset_timezone() if a new time zone has neverThomas G. Lockhart
been set in the session. General cleanup of timezone support code.
1998-01-31Inline fastgetattr and others so data access does not use functionBruce Momjian
calls.
1998-01-25getpid/pid cleanupBruce Momjian
1998-01-20Add Var.varlevelup to code. More parser cleanup.Bruce Momjian
1998-01-16New pg_attribute.atttypmod for type-specific information likeBruce Momjian
varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.
1998-01-15Thank god for searchable mail archives.PostgreSQL Daemon
Patch by: wieck@sapserv.debis.de (Jan Wieck) One of the design rules of PostgreSQL is extensibility. And to follow this rule means (at least for me) that there should not only be a builtin PL. Instead I would prefer a defined interface for PL implemetations.
1998-01-10Fix CLUSTER.Bruce Momjian
1998-01-07Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. ↵Bruce Momjian
Clean up use of VARDATA.
1998-01-05Move variable.c to commands/ and aclchk.c to catalog/.Bruce Momjian
1998-01-05Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1997-12-30Slightly delayed patches from Todd...damn holidays :)Marc G. Fournier
o A new patch that contains the following changes: -- The pg_pwd file is now cached in the postmaster's memory. -- pg_pwd is reloaded when the postmaster detects a flag file creat()'ed by a backend. -- qsort() is used to sort loaded password entries, and bsearch() is is used to find entries in the pg_pwd cache. -- backends now copy the pg_user relation to pg_pwd.pid, and then rename the temp file to be pg_pwd. -- The delimiter for pg_pwd has been changed to a tab character.
1997-12-29Change some mallocs to palloc.Bruce Momjian
1997-12-22Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).Bruce Momjian
1997-12-20Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier
some of the ports...
1997-12-19More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier
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 :)
1997-12-17Makefile cleaned upMarc G. Fournier
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP vacuum.c: #include <port-protos.h> commented out...can someone comment as to why it was included, as it doesn't seem to have any effect under FreeBSD so far...would like some sort of #ifdef wrapper like async.c if possible
1997-12-12Make password null on startup.Bruce Momjian
1997-12-11Rename pg_plan and pg_eval to be more meaningful.Bruce Momjian
1997-12-09Major code cleanup following the pg_password insertion...Marc G. Fournier
...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
1997-12-06Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian
1997-12-05Fix tolower loops to go in proper direction for cache.Bruce Momjian
1997-12-04Change Constraint structure name from ConstraintDef to Constraint.Thomas G. Lockhart
Change reference to field inside to be compatible with new definition as a "node" structure rather than a specialty structure.
1997-12-04Missed a few files from Todd's patch...oops :)Marc G. Fournier
1997-12-04From: todd brandys <brandys@eng3.hep.uiuc.edu>Marc G. Fournier
An extension to the code to allow for a pg_password authentication database that is *seperate* from the system password file
1997-11-28Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.Bruce Momjian
1997-11-28Rename heap_create to heap_create_and_catatlog, rename heap_creatr to ↵Bruce Momjian
heap_create().