summaryrefslogtreecommitdiff
path: root/src/backend/parser/scan.c
Commit message (Collapse)AuthorAgeFilesLines
* change configure so that if postgresql isn't being installed as root,Marc G. Fournier1998-10-131-2/+2
| | | | | | | | do not configure in the perl5 interface. the perl5 interface needs to be installed under /usr/local/lib/perl5/*, which is generally owned by root. This allows a non-root build/install with the only root requirement being the make/install of hte perl5 stuff...
* Fix for BSDI shared libraries.Bruce Momjian1998-10-091-1/+1
|
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-4/+4
|
* Forgot to remove README-1ST from the repository ...Marc G. Fournier1998-09-151-1169/+1029
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-1006/+1151
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-22/+23
|
* Fix for possible releasebuffer bug.Bruce Momjian1998-08-301-12/+16
|
* Attached is a patch that uses autoconf to determine whether thereBruce Momjian1998-08-231-2/+2
| | | | | | | | | | | | | | | is a working 64-bit-int type available. In playing around with it on my machine, I found that gcc provides perfectly fine support for "long long" arithmetic ... but sprintf() and sscanf(), which are system-supplied, don't work :-(. So the autoconf test program does a cursory test on them too. If we find that a lot of systems are like this, it might be worth the trouble to implement binary<->ASCII conversion of int64 ourselves rather than relying on sprintf/sscanf to handle the data type. regards, tom lane
* Date: Sun, 16 Aug 1998 14:56:48 -0400Marc G. Fournier1998-08-171-2/+2
| | | | | | | | From: Tom Lane <tgl@sss.pgh.pa.us> Attached is a patch for this weekend's work on libpq. I've dealt with several issues: <for details: see message, in pgsql-patches archive for above data>
* Hi, here are the patches to enhance existing MB handling. This timeBruce Momjian1998-06-161-14/+16
| | | | | | | | | | | | | | | | I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-2/+2
|
* llow more variations on valid floating point numbers (e.g. ".1", "1e6").Thomas G. Lockhart1998-05-091-213/+225
| | | | Reintroduce fixes for unary minus parsing with leading spaces.
* Fix for missing parens with \g causing psql to get completelyBruce Momjian1998-05-041-2/+2
| | | | confused.
* A few minor mods:Marc G. Fournier1998-04-171-2/+2
| | | | | | | gram.c updated scan.c updated ecpg/Makefile added LDFLAGS configure requires sfio for those systems with it installed...
* Temporarily back out fixes for unary minus parsing.Thomas G. Lockhart1998-04-081-191/+188
| | | | | Will re-introduce for v6.4 but requires fixes for automatic type conversion beforehand.
* Allow parsing expressions with ") -" (scan.l, scan.c only).Thomas G. Lockhart1998-03-181-188/+191
| | | | | | | | | Make "TABLE" optional in "LOCK TABLE" command and "... INTO TABLE..." clause. Explicitly parse CREATE SEQUENCE options to allow a negative integer as an argument; this is an artifact of unary minus handling in scan.l. Add "PASSWORD" as an allowed column identifier. These fixes will require a "make clean install" but not a dump/reload.
* First step done,Marc G. Fournier1998-02-211-2/+2
| | | | | | | | | | | | | | | | | | | below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
* Fix parsing for <identifier>-<number> which was mis-identified as a unaryThomas G. Lockhart1998-02-181-178/+209
| | | | minus. Example is SELECT f1-2 FROM INT4_TBL;
* From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier1998-02-131-2/+2
| | | | | | | | | Apart from this Makefile hack, all I've done is to make dynamically loaded code modules fail properly (as was already done for __mips__, although I think this is too loose: I believe NetBSD for the pmax can do dynamic linking), and to add test-and-set lock handling. As Bruce suggested, this is done in a maximally efficient inlined way: I was not aware that this code was so important, speed-wise.
* Automatically promote out of range integers to floats.Thomas G. Lockhart1998-02-111-14/+30
| | | | Throw elog(NOTICE) to flag promotion.
* Move all the isinf() stuff from float.c to isinf.c, and build it according toMarc G. Fournier1998-02-021-2/+2
| | | | configure vs port specific #ifdef's...
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-271-2/+2
| | | | Cleanup patches for previous protocol changes patch
* More up to date scan.cMarc G. Fournier1998-01-241-2/+2
|
* Fix:Marc G. Fournier1998-01-151-2/+2
| | | | | | | | | | nodeAgg.c: WARN -> NOTICE for elog parse_oper.c: was created after patch for fmgr_info, so function call wrong scan.c: regenerated for i386_solaris using flex 2.5.4 gethostname.c: required prototype for gethostname() function config.h.in: create prototype for isinfo() function isinf.c: "fake" isinf() under i386_solaris using fpclass() call...
* Various cleanups for the i386_solaris environmentMarc G. Fournier1998-01-131-14/+14
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-14/+14
|
* Major code cleanup following the pg_password insertion...Marc G. Fournier1997-12-091-3/+3
| | | | | ...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
* Add comments and move a few declaration blocks to help readability.Thomas G. Lockhart1997-11-301-187/+199
| | | | No functional changes this time!
* Cleanup up include files.Bruce Momjian1997-11-261-239/+229
|
* Update generated source for scan.l.Thomas G. Lockhart1997-11-171-220/+327
|
* Include flex output in the standard distribution to fix problems withThomas G. Lockhart1997-11-141-0/+2104
old AT&T lexers and exclusive states (Solaris has trouble and probably others).