aboutsummaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAge
* cleanup.Bruce Momjian1998-05-29
|
* Remove fork()/exec() and only do fork(). Small cleanups.Bruce Momjian1998-05-29
|
* Do type conversion to match columns in UNION clauses.Thomas G. Lockhart1998-05-29
| | | | | | | | | | | Currently force the type to match the _first_ select in the union. Move oper_select_candidate() from parse_func.c to parse_oper.c. Throw error inside of oper_inexact() if no match for binary operators. Check more carefully that types can be coerced even if there is only one candidate operator in oper_inexact(). Fix up error messages for more uniform look. Remove unused code. Fix up comments.
* Require #define variable ALLOW_ABSOLUTE_DBPATHS if absolute paths areThomas G. Lockhart1998-05-29
| | | | | | | | allowed to be used for alternate database locations. Probably best to default to not allowed, as now, since there are security and integrity issues which should be considered carefully before opening things up. Will update docs to discuss this issue.
* Fix up a couple of comments broken by the automatic indenting process.Thomas G. Lockhart1998-05-29
|
* Add conversion functions to and from the "name" data type.Thomas G. Lockhart1998-05-29
|
* Ensure string is completely null padded on input (as advertised).Thomas G. Lockhart1998-05-29
|
* postmaster/postgres options cleanup.Bruce Momjian1998-05-27
|
* Cleanup.Bruce Momjian1998-05-26
|
* Fix for drop database and junk filters.Bruce Momjian1998-05-26
|
* Fix for postgres started from command line, sends 'Z' protocolBruce Momjian1998-05-26
| | | | flag.
* Clean up pg_hba.confBruce Momjian1998-05-24
|
* From: David Hartwig <daveh@insightdist.com>Marc G. Fournier1998-05-21
| | | | | Here is a patch to remove the requirement that ORDER/GROUP BY clause identifiers be included in the target list.
* Allow cancel from client of backend query. Change some int variablesBruce Momjian1998-05-19
| | | | to bool's.
* Pass atttypmod to the frontend.Bruce Momjian1998-05-14
|
* Remove extraneous -DPARSEDEBUG from CFLAGS options.Thomas G. Lockhart1998-05-13
|
* Remove added NullProc define, and use fmgr.h value from fmgr.h.Bruce Momjian1998-05-13
|
* Cleanups for large objects, so file is trucated on open, fix forBruce Momjian1998-05-12
| | | | | solaris/spare shared libararies, new error message for postmaster startup, and makefile cleanups.
* Someone remove a #define too much from pg_proc.h which breaksBruce Momjian1998-05-12
| | | | | | | | compiling nbtsearch.c after configuring with --enable-cassert. Patch below. -- --------------------------------------------- Göran Thyni, sysadm, JMS Bildbasen, Kiruna
* Add some more node print routines for debugging onlyThomas G. Lockhart1998-05-09
| | | | (inside of #ifdef PARSEDEBUG blocks).
* Fix CACHEDEBUG debugging statements; usually not used and apparentlyThomas G. Lockhart1998-05-09
| | | | broke a long time ago when some definitions changed.
* Change parameters to func_error().Thomas G. Lockhart1998-05-09
|
* Add capabilities for automatic type conversion.Thomas G. Lockhart1998-05-09
|
* Add TIMEZONE_HOUR, TIMEZONE_MINUTE keywords per SQL92 specs.Thomas G. Lockhart1998-05-09
|
* llow more variations on valid floating point numbers (e.g. ".1", "1e6").Thomas G. Lockhart1998-05-09
| | | | Reintroduce fixes for unary minus parsing with leading spaces.
* Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.Thomas G. Lockhart1998-05-09
| | | | | | | | | Check for and properly ignore FOREIGN KEY column constraints (already had fixed same for table constraints). Define USER as synonym for CURRENT_USER per SQL92 specs (no longer allowed as bare column name, sorry). Re-enable HAVING clause but no fixes elsewhere yet. Other stuff from today's update of gram.y...
* Add parse_coerce.c for type conversion handling.Thomas G. Lockhart1998-05-09
|
* Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.Thomas G. Lockhart1998-05-09
| | | | | | | | | | | | | Check for and properly ignore FOREIGN KEY column constraints (already had fixed same for table constraints). Define USER as synonym for CURRENT_USER per SQL92 specs (no longer allowed as bare column name, sorry). Re-enable HAVING clause but no fixes elsewhere yet. Make "char" type a synonum for "char(1)" (actually implemented as bpchar). Compress/compact row-style subselect and operator definitions (cut out ~140 lines of code with no change in functionality). Save string type if specified for DEFAULT clause handling. Enough for now...
* Allow more variations on valid floating point numbers (e.g. ".1", "1e6").Thomas G. Lockhart1998-05-09
| | | | Reintroduce fixes for unary minus parsing with leading spaces.
* Add routines to convert between varchar and bpchar.Thomas G. Lockhart1998-05-09
| | | | Add routines to allow sizing of varchar and bpchar into target columns.
* Make a few line routines visible.Thomas G. Lockhart1998-05-09
| | | | Incorporate patches from Gautam for line/point intersection.
* Define "tz_hour" and "tz_minute" arguments to date_part().Thomas G. Lockhart1998-05-09
| | | | Fix up "ISO-style" timespan decoding and encoding.
* What I've done:Bruce Momjian1998-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Rewritten libpq to allow asynchronous clients. 2. Implemented client side of cancel protocol in library, and patched psql.c to send a cancel request upon SIGINT. The backend doesn't notice it yet :-( 3. Implemented 'Z' protocol message addition and renaming of copy in/out start messages. These are implemented conditionally, ie, the client protocol version is checked; so the code should still work with 1.0 clients. 4. Revised protocol and libpq sgml documents (don't have an SGML compiler, though, so there may be some markup glitches here). What remains to be done: 1. Implement addition of atttypmod field to RowDescriptor messages. The client-side code is there but ifdef'd out. I have no idea what to change on the backend side. The field should be sent only if protocol >= 2.0, of course. 2. Implement backend response to cancel requests received as OOB messages. (This prolly need not be conditional on protocol version; just do it if you get SIGURG.) 3. Update libpq.3. (I'm hoping this can be generated mechanically from libpq.sgml... if not, will do it by hand.) Is there any other doco to fix? 4. Update non-libpq interfaces as necessary. I patched libpgtcl so that it would compile, but haven't tested it. Dunno what needs to be done with the other interfaces. Have at it! Tom Lane
* Missed the __alpha__ to __alpha change...Marc G. Fournier1998-05-04
| | | | From: David Gould <dg@illustra.com>
* Okay...this should fix the s_lock() patches from David to what heMarc G. Fournier1998-05-04
| | | | | | currently has... From: David Gould <dg@illustra.com>
* Major screwed up s_lock patches...need to be fixed...Marc G. Fournier1998-05-04
|
* Fix for missing parens with \g causing psql to get completelyBruce Momjian1998-05-04
| | | | confused.
* No reason to show flags in root error message.Bruce Momjian1998-04-30
|
* From: Jeroen van Vianen <jeroenv@design.nl>Marc G. Fournier1998-04-29
| | | | | | | | | | Attached patch will add a version() function to Postges, e.g. template1=> select version(); version ------------------------------------------------------------ PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1 (1 row)
* From: t-ishii@sra.co.jpMarc G. Fournier1998-04-27
| | | | | | | | | | | | | | | | | | | | | | | Hi, here are patches I promised (against 6.3.2): * character_length(), position(), substring() are now aware of multi-byte characters * add octet_length() * add --with-mb option to configure * new regression tests for EUC_KR (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>) * add some test cases to the EUC_JP regression test * fix problem in regress/regress.sh in case of System V * fix toupper(), tolower() to handle 8bit chars note that: o patches for both configure.in and configure are included. maybe the one for configure is not necessary. o pg_proc.h was modified to add octet_length(). I used OIDs (1374-1379) for that. Please let me know if these numbers are not appropriate.
* show the index used in an explainMarc G. Fournier1998-04-27
| | | | From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
* From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>Marc G. Fournier1998-04-27
| | | | | | | | | | Ok, I have finally gotten all of the defines for Dec/Alpha and Linux/Alpha sorted out as Marc asked. There is no longer any need for '-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha template files (./src/template/{alpha,linuxalpha}). I have replaced every instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be the common symbol between C compilers on both operating systems (RH4.2 & DecUnix 4.0b) for alpha.
* This patch...Bruce Momjian1998-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Removes the unnecessary "#define AbcRegProcedure 123"'s from pg_proc.h. 2. Changes those #defines to use the names already defined in fmgr.h. 3. Forces the make of fmgr.h in backend/Makefile instead of having it made as a dependency in access/common/Makefile *hack*hack*hack* 4. Rearranged the #includes to a less helter-skelter arrangement, also changing <file.h> to "file.h" to signify a non-system header. 5. Removed "pg_proc.h" from files where its only purpose was for the #defines removed in item #1. 6. Added "fmgr.h" to each file changed for completeness sake. Turns out that #6 was not necessary for some files because fmgr.h was being included in a roundabout way SIX levels deep by the first include. "access/genam.h" ->"access/relscan.h" ->"utils/rel.h" ->"access/strat.h" ->"access/skey.h" ->"fmgr.h" So adding fmgr.h really didn't add anything to the compile, hopefully just made it clearer to the programmer. S Darren.
* FIx confusion over SORT and SORTCLAUSE in node handling.Bruce Momjian1998-04-27
|
* Re-apply Darren's char2-16 removal code.Bruce Momjian1998-04-26
|
* Inline some small functions called for every row.Bruce Momjian1998-04-24
|
* Add hpux patch for cpp.Bruce Momjian1998-04-21
|
* Try to find cpp failure and report it.Bruce Momjian1998-04-20
|
* Update HISTORY/TODO. Disable HAVING.Bruce Momjian1998-04-17
|
* A few minor mods:Marc G. Fournier1998-04-17
| | | | | | | gram.c updated scan.c updated ecpg/Makefile added LDFLAGS configure requires sfio for those systems with it installed...