postgresql/src/test/regress/sql
Tom Lane 33f5bf9700 ALTER TABLE OWNER must change the ownership of the table's rowtype too.
This was not especially critical before, but it is now that we track
ownership dependencies --- the dependency for the rowtype *must* shift
to the new owner.  Spotted by Bernd Helmle.
Also fix a problem introduced by recent change to allow non-superusers
to do ALTER OWNER in some cases: if the table had a toast table, ALTER
OWNER failed *even for superusers*, because the test being applied would
conclude that the new would-be owner had no create rights on pg_toast.
A side-effect of the fix is to disallow changing the ownership of indexes
or toast tables separately from their parent table, which seems a good
idea on the whole.
2005-08-04 01:09:29 +00:00
..
abstime.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
aggregates.sql Create the planner mechanism for optimizing simple MIN and MAX queries 2005-04-11 23:06:57 +00:00
alter_table.sql Add ALTER object SET SCHEMA capability for a limited but useful set of 2005-08-01 04:03:59 +00:00
arrays.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
bit.sql Make bit and bit varying types reject too long input. (They already tried 2001-05-22 16:37:17 +00:00
boolean.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
box.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
btree_index.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
case.sql Adjust constant-folding of CASE expressions so that the simple comparison 2005-02-02 21:49:09 +00:00
char.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
circle.sql Create a 'type cache' that keeps track of the data needed for any particular 2003-08-17 19:58:06 +00:00
cluster.sql Track dependencies on shared objects (which is to say, roles; we already 2005-07-07 20:40:02 +00:00
comments.sql Implement nested block comments in the backend and in psql. 2000-07-14 15:43:57 +00:00
conversion.sql Add support for Win1252 encoding. 2005-03-14 18:31:25 +00:00
copy2.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
create_aggregate.sql COMMENT ON casts, conversions, languages, operator classes, and 2003-11-21 22:32:49 +00:00
create_index.sql Fix platform-dependency in recently added regression tests. 2005-07-01 23:18:01 +00:00
create_misc.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
create_operator.sql Attached is a patch implementing factorial(), returning numeric. Points 2003-12-01 21:52:38 +00:00
create_table.sql This patch updates the regression tests to allow "make installcheck" to 2005-01-22 05:12:33 +00:00
create_type.sql COMMENT ON casts, conversions, languages, operator classes, and 2003-11-21 22:32:49 +00:00
create_view.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
date.sql > After all that about numbering centuries and millenia correctly, 2004-08-20 03:45:14 +00:00
dependency.sql ALTER TABLE OWNER must change the ownership of the table's rowtype too. 2005-08-04 01:09:29 +00:00
domain.sql Regression tests for recent bugfix to ALTER TABLE ADD COLUMN: ensure that 2005-01-25 03:22:19 +00:00
drop.sql Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
errors.sql Add a regression test to verify that the stack depth checker actually 2005-02-11 22:15:12 +00:00
euc_cn.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
euc_jp.sql From: t-ishii@sra.co.jp 1998-04-27 17:10:50 +00:00
euc_kr.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
euc_tw.sql Add missing mb files. 1999-02-02 19:04:43 +00:00
float4.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
float8.sql Remove grammar productions for prefix and postfix % and ^ operators, 2005-06-08 21:15:29 +00:00
foreign_key.sql When enqueueing after-row triggers for updates of a table with a foreign 2005-05-30 07:20:59 +00:00
geometry.sql Create a 'type cache' that keeps track of the data needed for any particular 2003-08-17 19:58:06 +00:00
hash_index.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
horology.sql Please find attached diffs for documentation and simple regression 2005-07-30 14:52:04 +00:00
inet.sql Update CIDR regresion tests to test for network masks inside the last 2004-10-08 01:45:37 +00:00
inherit.sql Add regression tests for the fix committed by Tom for casting between 2004-12-12 22:49:50 +00:00
insert.sql Reports missing values as bad. 2002-04-24 02:22:54 +00:00
int2.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
int4.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
int8.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
interval.sql Please find attached diffs for documentation and simple regression 2005-07-30 14:52:04 +00:00
join.sql Fix some issues with missing or too many newlines at 2005-04-07 15:23:06 +00:00
limit.sql Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion. 2001-10-20 02:55:39 +00:00
lseg.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
mule_internal.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
name.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
namespace.sql Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list of 2004-01-11 04:58:17 +00:00
numeric_big.sql Update numeric_big regress test for 7.0. This has apparently been 2000-03-30 07:13:20 +00:00
numeric.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
numerology.sql Tweak GROUP BY so that it will still accept result-column names, but only 2000-03-15 23:31:19 +00:00
oid.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
oidjoins.sql Add aggsortop column to pg_aggregate, so that MIN/MAX optimization can 2005-04-12 04:26:34 +00:00
opr_sanity.sql Migrate rtree_gist functionality into the core system, and add some 2005-07-01 19:19:05 +00:00
path.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
plpgsql.sql In PL/PgSQL, allow a block's label to be optionally specified at the 2005-07-02 08:59:48 +00:00
point.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
polygon.sql Extend r-tree operator classes to handle Y-direction tests equivalent 2005-06-24 20:53:34 +00:00
polymorphism.sql Aggregates can be polymorphic, using polymorphic implementation functions. 2003-07-01 19:10:53 +00:00
portals_p2.sql Partial indexes work again, courtesy of Martijn van Oosterhout. 2001-07-16 05:07:00 +00:00
portals.sql Fix interaction between materializing holdable cursors and firing 2005-04-11 19:51:16 +00:00
prepare.sql Change EXECUTE INTO to CREATE TABLE AS EXECUTE. 2003-07-01 00:04:31 +00:00
prepared_xacts.sql Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
privileges.sql Track dependencies on shared objects (which is to say, roles; we already 2005-07-07 20:40:02 +00:00
random.sql Improve random regression tests to fail less frequently. 2004-03-15 15:46:25 +00:00
rangefuncs.sql First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
reltime.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
rowtypes.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
rules.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
sanity_check.sql Replace functional-index facility with expressional indexes. Any column 2003-05-28 16:04:02 +00:00
select_distinct_on.sql Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 2000-01-27 18:11:50 +00:00
select_distinct.sql Add a basic regression test for IS DISTINCT FROM, which has spent way too 2002-12-13 20:16:11 +00:00
select_having.sql Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
select_implicit.sql Finish implementation of hashed aggregation. Add enable_hashagg GUC 2002-11-21 00:42:20 +00:00
select_into.sql Remove FROM warning by fixing query. 2000-06-04 17:52:54 +00:00
select_views.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
select.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
sequence.sql Add a function lastval(), which returns the value returned by the 2005-06-07 07:08:35 +00:00
sql_ascii.sql Add SQL_ASCII encoding test case 2000-03-06 01:29:54 +00:00
stats.sql In the stats test, delay for the stats collector to catch up using a 2005-07-23 14:18:57 +00:00
strings.sql I made the patch that implements regexp_replace again. 2005-07-10 04:54:33 +00:00
subselect.sql Fix overenthusiastic optimization of 'x IN (SELECT DISTINCT ...)' and related 2005-07-15 17:09:26 +00:00
temp.sql Generalize TRUNCATE to support truncating multiple tables in one 2005-01-27 03:19:37 +00:00
text.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
time.sql Allow a time zone to be specified (and silently ignored) in the input 2003-01-31 01:08:08 +00:00
timestamp.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
timestamptz.sql Add E'' syntax so eventually normal strings can treat backslashes 2005-06-26 03:04:37 +00:00
timetz.sql Fix queries to insulate from daylight savings time. 2001-10-31 14:44:23 +00:00
tinterval.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
transactions.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
triggers.sql COMMENT ON casts, conversions, languages, operator classes, and 2003-11-21 22:32:49 +00:00
truncate.sql Generalize TRUNCATE to support truncating multiple tables in one 2005-01-27 03:19:37 +00:00
type_sanity.sql Change typreceive function API so that receive functions get the same 2005-07-10 21:14:00 +00:00
union.sql Adjust data types in some of the UNION tests to avoid potentially 2003-11-02 22:35:26 +00:00
update.sql Fix some issues with missing or too many newlines at 2005-04-07 15:23:06 +00:00
vacuum.sql Add new vacuum regression test files. 2002-07-20 04:58:14 +00:00
varchar.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
without_oid.sql Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments 2004-08-04 21:34:35 +00:00