summaryrefslogtreecommitdiff
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add distprep target to take some of the job of the release_prep script.Peter Eisentraut2000-07-191-56/+4
| | | | | | | | | | | | | The latter updated accordingly. Also add `dist' and `distcheck' targets to play with, but caveat packager. Updated backend/bootstrap and backend/parser makefile to make them marginally builddir aware and fix the usual set of things. Add rule to automatically remake config.h dependent on config.h.in and config.status. (Adopted from Autoconf manual and about every other package.) On a good day we should now have a complete and accurate set of dependencies throughout everything.
* Attached is a new patch which addresses this problem. (oids inBruce Momjian2000-07-021-1/+1
| | | | | | regression tests). Chris Bitmead
* Version number now set in configure, available through Makefile.globalPeter Eisentraut2000-07-021-2/+1
| | | | | | | | | | and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
* Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut2000-06-171-7/+0
| | | | | Add options to configure to automatically build for Kerberos support; no more editing of make files.
* Clean up #include's.Bruce Momjian2000-06-151-7/+7
|
* Update include cleaning scripts.Bruce Momjian2000-06-142-2/+6
|
* Update include scriptsBruce Momjian2000-06-145-4/+17
|
* Mark functions as static and ifdef NOT_USED as appropriate.Bruce Momjian2000-06-081-2/+3
|
* Gen_fmgrtab.sh is strange: it is a platform dependent way (because it usesPeter Eisentraut2000-06-071-0/+7
| | | | | | | | | | | | | | | | | | | | | CPP) to create platform independent files. Unfortunately, that means that every config.status (or configure) run invariably causes a relink of the postmaster and also that we can't put these files in the distribution (usefully). So we make it a little smarter: when the output files already exist and it notices that it would recreate them in identical form, it doesn't touch them. In order to avoid re-running the make rule all the time we update a timestamp file instead. Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that is detected at configure time, not necessarily named `awk' and have it check for exit statuses a little better. In other news... Remove USE_LOCALE from the templates, it was set to `no' everywhere anyway. Also remove YACC and YFLAGS from the templates, configure is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules that need this flag should explicitly invoke it. YFLAGS should be a user variable. Update the makefiles to that effect.
* Moved configure script from src/ to the top level directory. MovedPeter Eisentraut2000-06-061-14/+12
| | | | | configuration helper things into config/ dir. Adjusted some relative paths in makefiles.
* Update pgcvslogBruce Momjian2000-06-011-9/+8
|
* The heralded `Grand Unified Configuration scheme' (GUC)Peter Eisentraut2000-05-311-0/+7
| | | | | | | | | | | | | That means you can now set your options in either or all of $PGDATA/configuration, some postmaster option (--enable-fsync=off), or set a SET command. The list of options is in backend/utils/misc/guc.c, documentation will be written post haste. pg_options is gone, so is that pq_geqo config file. Also removed were backend -K, -Q, and -T options (no longer applicable, although -d0 does the same as -Q). Added to configure an --enable-syslog option. changed all callers from TPRINTF to elog(DEBUG)
* Split vacuum and analyze into separate filesBruce Momjian2000-05-293-0/+6
|
* Update pgindentBruce Momjian2000-04-121-1/+1
|
* Update pgindentBruce Momjian2000-04-111-1113/+1113
|
* Update pgindent for 7.0 releaseBruce Momjian2000-04-111-1056/+1114
|
* Update make_mkid for mkid version 4.0.Bruce Momjian2000-03-311-1/+1
|
* Update HISTORY file for 7.0.Bruce Momjian2000-03-232-2/+2
|
* Typo correction (// -> /)Tom Lane2000-03-171-1/+1
|
* Fix plpsql for bsdi.Bruce Momjian2000-02-231-0/+5
|
* Well, here's the first pass on regressionBruce Momjian2000-02-221-0/+96
| | | | | | | | | | | | | | | tests for the Foreign Key support in 7.0 which was made against a CVS copy from this afternoon. This modifies src/test/regress/sql/run_check.tests src/test/regress/sql/alter_table.sql src/test/regress/expected/alter_table.out src/test/regress/sql/foreign_key.sql src/test/regress/expected/foreign_key.out sszabo@bigpanda.co
* Add no CVS to make_mkid.Bruce Momjian2000-02-101-1/+1
|
* Prevent tags files in cvs directory.Bruce Momjian2000-02-101-1/+1
|
* Correct minor typos.Tom Lane2000-01-171-3/+3
|
* Included all yacc and lex files into the distribution.Peter Eisentraut2000-01-161-10/+15
|
* Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian2000-01-101-0/+1
| | | | properly.
* Prevent _deadcode from showing in ctags and mkidBruce Momjian1999-12-132-2/+5
|
* The \p\g fix didn't turn out to be so bad. It even works in otherBruce Momjian1999-11-131-0/+10
| | | | | | | | | | circumstances: => select * from foo\x\t\pset border 0 \p\g\\select * from bar; Also the release prep update so the sql_help.h is generated before packaging. Peter.
* This patch implements ORACLE's COMMENT SQL command.Bruce Momjian1999-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From the ORACLE 7 SQL Language Reference Manual: ----------------------------------------------------- COMMENT Purpose: To add a comment about a table, view, snapshot, or column into the data dictionary. Prerequisites: The table, view, or snapshot must be in your own schema or you must have COMMENT ANY TABLE system privilege. Syntax: COMMENT ON [ TABLE table ] | [ COLUMN table.column] IS 'text' You can effectively drop a comment from the database by setting it to the empty string ''. ----------------------------------------------------- Example: COMMENT ON TABLE workorders IS 'Maintains base records for workorder information'; COMMENT ON COLUMN workorders.hours IS 'Number of hours the engineer worked on the task'; to drop a comment: COMMENT ON COLUMN workorders.hours IS ''; The current patch will simply perform the insert into pg_description, as per the TODO. And, of course, when the table is dropped, any comments relating to it or any of its attributes are also dropped. I haven't looked at the ODBC source yet, but I do know from an ODBC client standpoint that the standard does support the notion of table and column comments. Hopefully the ODBC driver is already fetching these values from pg_description, but if not, it should be trivial. Hope this makes the grade, Mike Mascari (mascarim@yahoo.com)
* Update jdbc for release version #>Bruce Momjian1999-10-131-0/+2
|
* Add mention of pg_upgrade for release checklist.Bruce Momjian1999-09-281-0/+1
|
* I have been working with user defined types and user defined cBruce Momjian1999-09-281-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. One problem that I have encountered with the function manager is that it does not allow the user to define type conversion functions that convert between user types. For instance if mytype1, mytype2, and mytype3 are three Postgresql user types, and if I wish to define Postgresql conversion functions like I run into problems, because the Postgresql dynamic loader would look for a single link symbol, mytype3, for both pieces of object code. If I just change the name of one of the Postgresql functions (to make the symbols distinct), the automatic type conversion that Postgresql uses, for example, when matching operators to arguments no longer finds the type conversion function. The solution that I propose, and have implemented in the attatched patch extends the CREATE FUNCTION syntax as follows. In the first case above I use the link symbol mytype2_to_mytype3 for the link object that implements the first conversion function, and define the Postgresql operator with the following syntax The patch includes changes to the parser to include the altered syntax, changes to the ProcedureStmt node in nodes/parsenodes.h, changes to commands/define.c to handle the extra information in the AS clause, and changes to utils/fmgr/dfmgr.c that alter the way that the dynamic loader figures out what link symbol to use. I store the string for the link symbol in the prosrc text attribute of the pg_proc table which is currently unused in rows that reference dynamically loaded functions. Bernie Frankpitt
* Reverse out last scan.l patch for minus handling.\Bruce Momjian1999-09-284-3/+3
|
* Add TRUNCATE command, with psql help and sgml additions.Bruce Momjian1999-09-231-0/+1
|
* Make pgindent gnu test better.Bruce Momjian1999-09-091-2/+2
|
* Add c.h to exclusion list.Bruce Momjian1999-07-171-0/+2
|
* Add config.h as needed.Bruce Momjian1999-07-171-1/+4
|
* More cleanupBruce Momjian1999-07-161-2/+4
|
* More cleanupBruce Momjian1999-07-161-0/+3
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-152-4/+10
|
* Cleanups.Bruce Momjian1999-07-152-2/+20
|
* Remove un-needed #include's from *.c files.Bruce Momjian1999-07-152-5/+8
|
* Add updates.Bruce Momjian1999-07-152-6/+24
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-153-0/+61
|
* Update stuff for 6.5.1 release.Bruce Momjian1999-07-101-3/+1
|
* Add fix for 0x7fU constants to pgindentBruce Momjian1999-05-261-2/+25
|
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-251-50/+351
|
* pgindent run over code.Bruce Momjian1999-05-251-1/+1
|
* Script for preparing derived files during tarball construction.Tom Lane1999-03-201-0/+58
|
* Update find_typedefs for bsdi 4.0.Bruce Momjian1999-02-101-7/+8
|