summaryrefslogtreecommitdiff
path: root/src/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Another round of updates for new fmgr, mostly in the datetime code.Tom Lane2000-06-091-7/+20
|
* Generated header files parse.h and fmgroids.h are now copied intoTom Lane2000-05-291-2/+2
| | | | | the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
* Fix some bogosity in the tutorial examples.Tom Lane2000-03-283-31/+23
|
* Add:Bruce Momjian2000-01-261-2/+3
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* First cut at making useful selectivity estimates for range queriesTom Lane2000-01-241-7/+5
| | | | | | | | | | | | (ie, WHERE x > lowbound AND x < highbound). It's not very bright yet but it does something useful. Also, rename intltsel/intgtsel to scalarltsel/scalargtsel to reflect usage better. Extend convert_to_scalar to do something a little bit useful with string data types. Still need to make it do something with date/time datatypes, but I'll wait for Thomas's datetime unification dust to settle first. Eventually the routine ought not have any type-specific knowledge at all; it ought to be calling a type-dependent routine found via a pg_type column; but that's a task for another day.
* Revise handling of index-type-specific indexscan cost estimation, perTom Lane2000-01-221-21/+11
| | | | | | pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-172-5/+0
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-152-2/+0
|
* Rename tuturials for char2/char16 removal.Bruce Momjian1999-07-081-3/+3
|
* Rename example temp to mytemp.Bruce Momjian1999-07-081-4/+4
|
* pgindent run over code.Bruce Momjian1999-05-251-6/+6
|
* Fixup for src/tutorial/func.c and src/tutorial/func.sourceBruce Momjian1999-03-142-39/+44
| | | | | | | | | | | | Removed char16 and replaced with an example using Point as suggested by Tom Lane. The dept field was changed to the cubicle field denoting the row(x) and column(y) of the employee's cube in the corporate jungle. The C function builds a 'compromise' cubicle from two suggested ones. I'll try and patchup the documentation next. Clark
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-4/+3
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-012-13/+13
|
* Fix spelling of "includingBruce Momjian1998-03-201-2/+2
| | | | Edward J. Huff
* From: Darren King <darrenk@insightdist.com>Marc G. Fournier1998-03-014-31/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Make 'all' works without complaint. Don't have to add the .exp files to the files list. They are made automagically when making the respective shared lib file. Only port that actually uses EXPSUFF (from makefiles/Makefile.*) is Aix, so if this breaks anybody else, let me know, asap. 2. Make 'clean' actually cleans up correctly. Previously, it would leave the .o files in C-code directory. 3. Changed references to reflect new location of .c files. 4. Added DELETE statements to complex.source so that it tidies up when done. Previously, it would leave things in pg_amop, pg_amproc and pg_opclass. Only possible to do this with the new SUBSELECT code in 6.3. Nice work, fellas... Not deleting the index entries would cause a non-fatal error if complex.sql was run again on the same database. Much tidier now. 5. Corrected the README. obj directory hasn't existed since Bryan redid the make way back when. Also changed the snipet from psql to match the current version. POSTGRES95?!? I don't think so. :)
* Move around files before applying Darren's second patchMarc G. Fournier1998-03-014-19/+1
|
* From: Darren King <darrenk@insightdist.com>Marc G. Fournier1998-02-284-49/+72
| | | | | | | | | | | | | | | Seem to remember someone posting to one of the lists a while back that the tutorial code wouldn't compile and/or run. Found four problems with it that will let it run. 1. Tutorial makefile had a recursive use of DLOBJS. 2. Some tutorial needed semi-colons added to many statements. 3. Complex tutorial didn't clean up after itself. 4. Advanced had a time-travel example. Commented it out and put a line pointing the user to contrib/spi/README.
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-262-3/+3
|
* Fix typos in SQL statement terminators.Thomas G. Lockhart1998-02-111-13/+13
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-072-7/+7
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-052-7/+7
|
* Various fixes NETBSD/sparc relatedMarc G. Fournier1998-01-042-1/+17
| | | | From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
* Inline memset() as MemSet().Bruce Momjian1997-09-181-2/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-4/+4
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-083-53/+54
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-073-157/+175
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-121-1/+1
| | | | some (void) casts that are unnecessary.
* Typo changes in tests/ examples.Bruce Momjian1997-06-251-4/+4
|
* Silence compiler warnings, fix error in complex compare function.Bryan Henderson1997-01-052-1/+43
|
* Standardize all LDADD to LD_ADD.Bryan Henderson1997-01-051-3/+1
|
* Here is a bug fix and some spelling changes for the complex number tutorialBruce Momjian1996-12-282-9/+10
| | | | | | | | | code. I have also written a complete complex number package based on this tutorial; I will submit this as a contribution soon. Is there a particular format for contributed tar files? I have a C source file, two SQL files, and a Makefile. Thomas Lockhart
* Rename SLSUFF to DLSUFFIXBruce Momjian1996-11-182-5/+6
|
* Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.Bryan Henderson1996-11-132-3/+1
|
* End of the make file simplifications.Bryan Henderson1996-11-122-19/+45
|
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-0910-0/+1206