aboutsummaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAge
* 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...
* Move HAVING function to proper file.Bruce Momjian1998-04-15
|
* Update gram.c.nd *.h files.Bruce Momjian1998-04-14
|
* Cleanup up code.Bruce Momjian1998-04-13
|
* More work in the right direction on linux/alphaMarc G. Fournier1998-04-12
| | | | From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
* linuxalpha patches from Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>Marc G. Fournier1998-04-11
|
* Oops...I used Relation->rd_fd->relname exactly, instead of using the actualMarc G. Fournier1998-04-10
| | | | variable name *blush* *grin*
* Okay, add relation name to the file generating the error...Marc G. Fournier1998-04-10
|
* See if I can determine where the BTP_CHAIN error is coming from...Marc G. Fournier1998-04-10
|
* Prepare the EXTRACT() clause for supporting TIMEZONE_HOURThomas G. Lockhart1998-04-08
| | | | | | | | | and TIMEZONE_MINUTE but don't introduce until v6.4. Fix SET TIMEZONE LOCAL to pass null pointer rather than older "default" string. Fix handling of NULL pointer returns from FOREIGN KEY clauses which are currently ignored. Allow START as a table/column name.
* Temporarily back out fixes for unary minus parsing.Thomas G. Lockhart1998-04-08
| | | | | Will re-introduce for v6.4 but requires fixes for automatic type conversion beforehand.
* Back out char2-char16 removal. Add later.Bruce Momjian1998-04-07
|
* ASSERT fixes.Bruce Momjian1998-04-06
|
* DESTDIR removed, again.Bruce Momjian1998-04-06
|
* Cleanup of compiler warnings.Bruce Momjian1998-04-06
|