Bruce Momjian
0fc13f582a
Make sure resdomno for update/insert match attribute number for
...
rewrite system. Restructure parse_target to make it easier to
understand.
28 years ago
Thomas G. Lockhart
94f42ed389
Include OID as a built-in type.
28 years ago
Marc G. Fournier
a1627a1d64
From: David Hartwig <daybee@bellatlantic.net>
...
28 years ago
Bruce Momjian
683f399391
Change atttypmod from int16 to int32, for Thomas.
28 years ago
Thomas G. Lockhart
33dd5c444f
Include int8 as a built-in data type.
...
Merge "resjunk" handling with automatic type conversion
when selecting from another column.
28 years ago
Bruce Momjian
2e6159311a
I made several adjustments to my earlier patch to handle the
...
condition where the target label is ambiguous.
28 years ago
Thomas G. Lockhart
2d4c6cab96
Define new routines oper_exact() and oper_inexact().
...
Add coerce_target_expr().
28 years ago
Thomas G. Lockhart
d2404c17c9
Add func_select_candidate() to allow use in unary operator parsing.
28 years ago
Thomas G. Lockhart
3671cb3a32
Add NAMEOID as built-in type.
...
Change ordering of IS_BUILTIN_TYPE() macro to optimize lookup.
Make CASH type _not_ equivalent to INT4.
CASH is passed by reference rather than passed by value.
28 years ago
Marc G. Fournier
9f3d63936b
From: David Hartwig <daveh@insightdist.com>
...
28 years ago
Thomas G. Lockhart
3ace5fd082
Add capabilities for automatic type conversion.
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Bruce Momjian
edd3668895
Atttypmod cleanup.
28 years ago
Bruce Momjian
0386a50f31
Pass around typmod as int16.
28 years ago
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
28 years ago
Marc G. Fournier
7b6cbd53f7
func_error() changed so that if caller is passed with NULL value, its
...
output at least doesn't appear that its missing something.
wasn't particularly confident with removing 'caller' altogether :(
28 years ago
Marc G. Fournier
48ad446c04
Fix up this so that it also doesn't use a caller variable...
28 years ago
Bruce Momjian
726c3854cb
Inline fastgetattr and others so data access does not use function
...
calls.
28 years ago
Bruce Momjian
7f31669bea
Add Var.varlevelup to code. More parser cleanup.
28 years ago
Bruce Momjian
412a5e6539
Parser cleanup.
...
Add lock to i386 asm.
28 years ago
Bruce Momjian
588867bd7b
Create SubLink nodes in parser for Vadim.
28 years ago
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.
28 years ago
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.
28 years ago
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;
28 years ago
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
28 years ago
Bruce Momjian
a1dd409053
Fix for ORDER BY in UNION.
28 years ago
Bruce Momjian
a01b085c78
Cleanup of UNION ALL fix. Manual page updates.
28 years ago
Bruce Momjian
b704426618
Make parser functions static where possible.
28 years ago
Bruce Momjian
598e86f3b3
Cleanup up include files.
28 years ago
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
28 years ago
Bruce Momjian
49656346b8
Move dbcommands.c to commands/. It should not be in the parser directory.
29 years ago
Bruce Momjian
195f78e43c
More archive cleanup.
29 years ago
Bruce Momjian
629e27284d
Remove unused files.
29 years ago
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
29 years ago
Thomas G. Lockhart
7d1f2f8a27
Support alternate database locations.
29 years ago
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
29 years ago
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
29 years ago
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
29 years ago
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
29 years ago
Bruce Momjian
11ac1bf268
More NOT_USEDs
29 years ago
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
29 years ago
Marc G. Fournier
5e7c0a0b9a
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] DROP AGGREGATE patch/fix.
Here's a patch that fixes the DROP AGGREGATE command to delete
the desired aggregate for a specific type.
29 years ago
Bruce Momjian
2300ac0dc4
Add attribute optimization statistics.
29 years ago
Bruce Momjian
84876289cc
Cast constants to the type of the other binary operand.
...
Invalidate vacuum relation cache to use new row counts from vacuum.
29 years ago
Bryan Henderson
7439ba64b1
Use "Oid" type where applicable and %ud instead of %d. Thanks Darren King.
29 years ago
Bruce Momjian
63df35e249
This patch changes quite a few instances of references of Oid's
...
as ints and longs. Touches on quite a few function args as
well. Most other files look ok as far as Oids go...still checking
though...
Since Oids are type'd as unsigned ints, they should prolly be used
with the %ud format string in elog and sprintf messages. Not sure
what kind of strangeness that could produce.
Darren King
29 years ago
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
30 years ago
Bruce Momjian
c9c0e111b8
More compile cleanups
30 years ago
Marc G. Fournier
1d0dd471fa
Okay...this pretty much cleans out the include files.
...
I'm able to get through a 'make' of the backend with no errors except
the occasional 'might not be initialized error', which is nothing major,
just annoying.
Have a few patches from D'Arcy to incorporate, but am waiting until I can
get a clean compile first, which I'm hoping to have before bed, or sometime
tomorrow.
30 years ago
Marc G. Fournier
d2746c65b5
Make sure all the cleaned includes are commited
30 years ago