Bruce Momjian
002657f7ed
Add LIMIT syntax for Jan.
1998-10-22 13:52:24 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
1998-09-01 03:29:17 +00:00
Bruce Momjian
093beb3560
Make attalign match type alignment.
1998-08-26 05:22:58 +00:00
Thomas G. Lockhart
0f19904360
Check for null pointer returned from get_opname().
1998-08-16 05:35:35 +00:00
Bruce Momjian
d9be0ff432
MergeSort was sometimes called mergejoin and was confusing. Now
...
it is now only mergejoin.
1998-08-04 16:44:31 +00:00
Bruce Momjian
0a2e5cdfc9
Allow index use with OR clauses.
1998-08-01 22:12:13 +00:00
Bruce Momjian
61700b4089
Makefile removal of internal.c.
1998-07-20 20:01:48 +00:00
Bruce Momjian
3dd2eabc53
Cleanup makeTargetEntry and remove internal.c.
1998-07-20 19:53:53 +00:00
Bruce Momjian
584f9438ca
Rename Rel to RelOptInfo.
1998-07-18 04:22:52 +00:00
Bruce Momjian
9e964f90fb
Fix explain for union and inheritance. Rename Append structure
...
members to be clearer. Fix cost computation for these.
1998-07-15 14:54:39 +00:00
Bruce Momjian
3600fd320f
Major man page update from Tom Lane. c
1998-07-14 01:45:25 +00:00
Bruce Momjian
f99dcd6d15
Fix for AS name quotation problem.
1998-07-13 21:27:58 +00:00
Bruce Momjian
683f399391
Change atttypmod from int16 to int32, for Thomas.
1998-07-12 21:29:40 +00:00
Bruce Momjian
db82332bdc
Fix for views that use AS with two words.
1998-07-09 14:59:27 +00:00
Bruce Momjian
6bd323c6b3
Remove un-needed braces around single statements.
1998-06-15 19:30:31 +00:00
Thomas G. Lockhart
e6a854dc41
Add some more node print routines for debugging only
...
(inside of #ifdef PARSEDEBUG blocks).
1998-05-09 23:46:35 +00:00
Bruce Momjian
4fcd0d6371
FIx confusion over SORT and SORTCLAUSE in node handling.
1998-04-27 02:58:07 +00:00
Bruce Momjian
1e801a8f16
Hi,
...
Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.
It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.
This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )
This patch is against the 6.3 sources, as it took a while to
complete.
Please review and apply,
Cheers,
Jeroen van Vianen
1998-04-06 00:32:26 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Bruce Momjian
e4fd534645
Partial fix for select distinct in subselect.
1998-02-23 02:54:11 +00:00
Bruce Momjian
ec9e44ab7c
Add handling for new RangeTblEntry column name.
1998-02-21 18:17:58 +00:00
Bruce Momjian
856da1e65a
Constlen can be -1, so make it a signed type.
1998-02-21 16:58:49 +00:00
Marc G. Fournier
7b30490bc9
First step done,
...
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-21 06:32:15 +00:00
Vadim B. Mikheev
dc892fd390
Support for subselects.
...
(Have to re-visit readfuncs.c)
1998-02-13 03:27:47 +00:00
Bruce Momjian
0386a50f31
Pass around typmod as int16.
1998-02-10 16:04:38 +00:00
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
1998-02-10 04:02:59 +00:00
Marc G. Fournier
af32f4d5d3
Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
...
when creating unique indexes.
From: James Hughes <jamesh@interpath.com >
1998-01-25 04:07:52 +00:00
Bruce Momjian
ef06ec61e6
Small varlena cleanup.
1998-01-21 23:42:15 +00:00
Bruce Momjian
7f31669bea
Add Var.varlevelup to code. More parser cleanup.
1998-01-20 22:12:17 +00:00
Bruce Momjian
412a5e6539
Parser cleanup.
...
Add lock to i386 asm.
1998-01-20 05:05:08 +00:00
Bruce Momjian
1316113ea3
Fix problem with nodes handling.
1998-01-19 18:11:10 +00:00
Bruce Momjian
b37bc65f44
Creates the SubLink structure, and the Query->hasSubLink field,
...
with supporting code.
Creates SubLink node in gram.y.
psql.c patch for newatttypmod field.
1998-01-17 04:53:46 +00:00
Bruce Momjian
c65ea0e040
New pg_attribute.atttypmod for type-specific information like
...
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.
1998-01-16 23:21:07 +00:00
Bruce Momjian
763ff8aef8
Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.
...
Pass List* of Aggregs into executor, and create needed array there.
No longer need to double-processs Aggregs with second copy in Query.
Fix crash when doing:
select sum(x+1) from test where 1 > 0;
1998-01-15 19:00:16 +00:00
Bruce Momjian
660f458d3b
Clean up of copyfuncs.
1998-01-11 20:02:32 +00:00
Bruce Momjian
31a697bf92
Yohoo UNIONS of VIEWS.
1998-01-09 05:48:22 +00:00
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
Bruce Momjian
e9dc636e0c
Cleanup of outnodes.
1998-01-07 15:32:47 +00:00
Bruce Momjian
c01a56daf5
Fix for views and outnodes.
1998-01-07 08:08:08 +00:00
Bruce Momjian
56466049d6
Cleanup of outnode stuff.
1998-01-07 05:54:11 +00:00
Bruce Momjian
c9d9fe7690
Cleanup of outnode stuff.
1998-01-07 05:50:41 +00:00
Bruce Momjian
a552a894eb
Cleanup of outnode stuff.
1998-01-07 05:42:47 +00:00
Bruce Momjian
4557c846de
Cleanup of sort nodes and use of strtoul .
1998-01-06 23:19:49 +00:00
Bruce Momjian
9d00fbbeb0
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
1998-01-06 18:53:02 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
1998-01-04 04:31:43 +00:00
Bruce Momjian
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +00:00
Bruce Momjian
6231e161c9
Implementation of UNIONs.
1997-12-24 06:06:58 +00:00
Bruce Momjian
18adbd9aed
Reverse out Thomas's group clause change.
1997-12-23 21:49:03 +00:00