Tom Lane
422221c90d
Another SELECT speedup: extract OIDs of column print functions
...
only once per SELECT, not once per tuple. 10% here, 10% there,
pretty soon you're talking about real speedups ...
27 years ago
Vadim B. Mikheev
247b3f9054
SELECT FOR UPDATE is implemented...
27 years ago
Vadim B. Mikheev
3498d878cb
SET TRANSACTION ISOLATION LEVEL ...
...
LOCK TABLE IN ... MODE
...implemented
27 years ago
Vadim B. Mikheev
c13a64d7fb
Serialized mode works!
27 years ago
Vadim B. Mikheev
3f7fbf85dc
Initial MVCC code.
...
New code for locking buffer' context.
27 years ago
Vadim B. Mikheev
6beba218d7
New HeapTuple structure/interface.
27 years ago
Bruce Momjian
8cec4cf91b
New QUERY_LIMIT set command.
28 years ago
Tom Lane
d33bbb5b1f
Get rid of some long-dead code that thinks NOTIFY is passed to the
...
planner/optimizer/executor. It isn't.
Besides, most of the removed code consists of comments about how
it's not right.
28 years ago
Thomas G. Lockhart
4327a3675f
Clean up existing debugging print statements.
...
Modify comment blocks to insulate from pgindent.
28 years ago
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
28 years ago
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
28 years ago
Bruce Momjian
7971539020
heap_fetch requires buffer pointer, must be released; heap_getnext
...
no longer returns buffer pointer, can be gotten from scan;
descriptor; bootstrap can create multi-key indexes;
pg_procname index now is multi-key index; oidint2, oidint4, oidname
are gone (must be removed from regression tests); use System Cache
rather than sequential scan in many places; heap_modifytuple no
longer takes buffer parameter; remove unused buffer parameter in
a few other functions; oid8 is not index-able; remove some use of
single-character variable names; cleanup Buffer variables usage
and scan descriptor looping; cleaned up allocation and freeing of
tuples; 18k lines of diff;
28 years ago
Bruce Momjian
af5fde7491
Make large objects their own relkind type. Fix dups in pg_class_mb
...
files. Fix sequence creation hack for relkind type.
28 years ago
Vadim B. Mikheev
be8300b18f
Use Snapshot in heap access methods.
28 years ago
Bruce Momjian
34797d4225
Cleanup Name usage.
28 years ago
Bruce Momjian
5b4ca67147
Conditionally execute Junk filter only when ORDER BY of columns
...
not in target list.
28 years ago
Bruce Momjian
6bd323c6b3
Remove un-needed braces around single statements.
28 years ago
Bruce Momjian
b15b768bfa
Fix for drop database and junk filters.
28 years ago
Marc G. Fournier
9f3d63936b
From: David Hartwig <daveh@insightdist.com>
...
28 years ago
Vadim B. Mikheev
1a6de0760d
Check SELECT permissions in subqueries.
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
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;
28 years ago
Vadim B. Mikheev
1a105cefbd
Support for subselects.
...
ExecReScan for nodeAgg, nodeHash, nodeHashjoin, nodeNestloop and nodeResult.
Fixed ExecReScan for nodeMaterial.
Get rid of #ifdef INDEXSCAN_PATCH.
Get rid of ExecMarkPos and ExecRestrPos in nodeNestloop.
28 years ago
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
28 years ago
Bruce Momjian
691dc282f8
Fix for SELECT INTO TABLE for varchar().
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
cb3ce64f2e
Cleanup of prototypes. FIx for PQtrace start/stop several times.
28 years ago
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
28 years ago
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
28 years ago
Bruce Momjian
002796b5ca
Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.
28 years ago
Bruce Momjian
c445ba331b
Rename heap_create to heap_create_and_catatlog, rename heap_creatr to heap_create().
28 years ago
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
28 years ago
Bruce Momjian
3fa2bb316c
Remove archive stuff.
28 years ago
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
28 years ago
Thomas G. Lockhart
c2f4779ddf
Define prototype for ExecutorLimit() to avoid compiler complaints.
29 years ago
Bruce Momjian
5aaf00f3f3
Remove NOT_USED for Massimo.
29 years ago
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
29 years ago
Vadim B. Mikheev
defb10a450
DEFAULT is handled by analyze.c now.
29 years ago
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
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
Vadim B. Mikheev
78d74e32fb
execMain.c: little changes in trigger interface...
...
spi.c: functions to prepare/run and preserve plans for
duration of transaction/session. Some data utilities.
29 years ago
Vadim B. Mikheev
283e18ab0e
BEFORE/AFTER ROW INSERT/DELETE/UPDATE triggers startup.
29 years ago
Vadim B. Mikheev
3751b49545
Number of tuples inserted/affected by INSERT/UPDATE/DELETE...
29 years ago
Vadim B. Mikheev
d40885cc40
+ ExecConstraints()
29 years ago
Vadim B. Mikheev
ed2c54b240
DEFAULT handling
...
Use for 'selct .. into ..' copy of TupleDesc (without constraints)
#ifdef NOT_USED for resetVarAttrLenForCreateTable (just free tupdesc copy)
29 years ago
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
29 years ago
Vadim B. Mikheev
b992e200b8
NOT NULL implementation (submitted by Robson Paniago de Miranda).
29 years ago
Bruce Momjian
b99c63cfc0
Now that names are null terminated, no need to do all that NAMEDATALEN stuff.
29 years ago