summaryrefslogtreecommitdiff
path: root/src/backend/parser
AgeCommit message (Collapse)Author
1998-02-27From: Darren King <darrenk@insightdist.com>Marc G. Fournier
Two incorrect printf formats in parser/parse_type.c. Prolly done by me a long time ago when I cleaned up int's and Oid's... Format flag is really just %u, not %ud. Harmless, but results in "type id lookup of 25d failed" instead of only "...25 failed"
1998-02-27In '(a,b,...) Op [ANY|ALL] (SubSelect)' Op is restricted toVadim B. Mikheev
'=' and '<>'.
1998-02-27From: Darren King <darrenk@insightdist.com>Marc G. Fournier
This patch will... 1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile. 2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS... 3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra steps taken care of by the 'ld' command anyways.
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-25From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
1998-02-21First step done,Marc G. Fournier
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;
1998-02-18Start shipping gram.y products gram.c and parse.h to avoid having to buildThomas G. Lockhart
them from scratch. gram.y has now grown so that some non-bison yaccs (including FreeBSDs) run out of room and quit.
1998-02-18Include products of gram.y to allow systems without bison to build Postgres.Thomas G. Lockhart
The parser recently grew too big for some yaccs, including FreeBSD.
1998-02-18Allow LIKE expression in constraint clause.Thomas G. Lockhart
Allow USER and VALID as column names and identifiers.
1998-02-18Fix parsing for <identifier>-<number> which was mis-identified as a unaryThomas G. Lockhart
minus. Example is SELECT f1-2 FROM INT4_TBL;
1998-02-18Fix useor for (a,b...) Op ANY/ALLVadim B. Mikheev
1998-02-13Atttypmod cleanup.Bruce Momjian
1998-02-13gram.y: ALL_SUBLINK type was returned for x Op (subquery).Vadim B. Mikheev
parse_expr.c: only Op of bool type are supported currently...
1998-02-13From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier
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.
1998-02-13Fix for EXISTS.Vadim B. Mikheev
1998-02-11Try bumping to version two...Thomas G. Lockhart
1998-02-11Define ROW and STATEMENT as parser tokens.Thomas G. Lockhart
Use explicit tokens to decode CREATE TRIGGER clauses. Allow ROW and STATEMENT as column identifiers. Fix CAST syntax to require parens per SQL92 spec. Define TypeId to allow correct translation of type names in CREATE FUNCTION and other statements. Need to do this without looking up defined type names because CREATE FUNCTION can specify undefined (new) types. Define UserId to complete removal of "Id" generic entity. Define xlateSqlFunc() to convert SQL92 CHARACTER_LENGTH() and CHAR_LENGTH() functions to calls to length(). Define func_name parser entity for contexts requiring a function name. Have xlateSqlType() translate "float" to "float8".
1998-02-11Automatically promote out of range integers to floats.Thomas G. Lockhart
Throw elog(NOTICE) to flag promotion.
1998-02-10Pass around typmod as int16.Bruce Momjian
1998-02-10Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian
1998-02-07atttypmod now -1.Bruce Momjian
1998-02-06FIx hasSubLinks for Vadim.Bruce Momjian
1998-02-05FIx for varchar(), char() and INSERT .. SELECT.Bruce Momjian
1998-02-05Fix for varchar functions, and indextyple j-1 fix.Bruce Momjian
1998-02-05func_error() changed so that if caller is passed with NULL value, itsMarc G. Fournier
output at least doesn't appear that its missing something. wasn't particularly confident with removing 'caller' altogether :(
1998-02-05Clean up func_error() function completely removing caller variable asMarc G. Fournier
"more info then user requires"
1998-02-04Allow most expressions in BETWEEN clause. Allow all expressions ifThomas G. Lockhart
surrounded by parentheses (but not all are meaningful). Remove unused keywords ACL, APPEND, MERGE. Requires a "make clean" to recompile all code since keyword numeric assignments have changed with keyword removal.
1998-02-03Subselects with =, >, etc.Bruce Momjian
Cleanup for vacuum help, manual page, and error message
1998-02-03Remove unused keyword CHANGE.Thomas G. Lockhart
1998-02-03Parser cleanup for expr and subqueries.Bruce Momjian
1998-02-02set "caller" value in parse_func.h to func_get_detail instead of just ""Marc G. Fournier
1998-02-02Move all the isinf() stuff from float.c to isinf.c, and build it according toMarc G. Fournier
configure vs port specific #ifdef's...
1998-02-01Fix for psort. fixes regression tests.Bruce Momjian
1998-02-01AIX patch from Darren King and Univel patch from Billy Allie, mostlyBruce Momjian
related to grammar and parser issues, with one postmaster fix.
1998-01-27Deadlock ceallnup.Bruce Momjian
(void) change for aix and hp compilers. protocol cleanup.
1998-01-27From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
Cleanup patches for previous protocol changes patch
1998-01-25Wish ppl would make up their mnd :)Marc G. Fournier
1998-01-25OOps...missed the second patch of patch two that uses pfree() instead ofMarc G. Fournier
free() From: James Hughes <jamesh@interpath.com>
1998-01-25This is the second of two patches required to fix the the grant andMarc G. Fournier
revoke statements. From: James Hughes <jamesh@interpath.com>
1998-01-24More up to date scan.cMarc G. Fournier
1998-01-22Add LOCK command as DELETE FROM ... WHERE false.Bruce Momjian
1998-01-20FIx for regression-test found bug.Bruce Momjian
1998-01-20Add Var.varlevelup to code. More parser cleanup.Bruce Momjian
1998-01-20Parser cleanup.Bruce Momjian
Add lock to i386 asm.
1998-01-19Fix problem with nodes handling.Bruce Momjian
1998-01-19Added code so SubLinks make it to optimizer.Bruce Momjian
1998-01-19Create SubLink nodes in parser for Vadim.Bruce Momjian
1998-01-17Gram.y cleanup.Bruce Momjian
1998-01-17Creates the SubLink structure, and the Query->hasSubLink field,Bruce Momjian
with supporting code. Creates SubLink node in gram.y. psql.c patch for newatttypmod field.
1998-01-16New pg_attribute.atttypmod for type-specific information likeBruce Momjian
varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.