postgresql/src/test/regress/expected
Tom Lane 7b90469b71 Allow adding values to an enum type created in the current transaction.
Normally it is unsafe to allow ALTER TYPE ADD VALUE in a transaction block,
because instances of the value could be added to indexes later in the same
transaction, and then they would still be accessible even if the
transaction rolls back.  However, we can allow this if the enum type itself
was created in the current transaction, because then any such indexes would
have to go away entirely on rollback.

The reason for allowing this is to support pg_upgrade's new usage of
pg_restore --single-transaction: in --binary-upgrade mode, pg_dump emits
enum types as a succession of ALTER TYPE ADD VALUE commands so that it can
preserve the values' OIDs.  The support is a bit limited, so we'll leave
it undocumented.

Andres Freund
2012-12-01 14:27:30 -05:00
..
.gitignore Add a SECURITY LABEL command. 2010-09-27 20:55:27 -04:00
abstime.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
advisory_lock.out Add transaction-level advisory locks. 2011-02-18 14:05:12 +09:00
aggregates.out Fix SELECT DISTINCT with index-optimized MIN/MAX on inheritance trees. 2012-11-26 12:57:58 -05:00
alter_generic.out Remove collations from generic ALTER test 2012-10-01 10:57:58 -03:00
alter_table.out Fix handling of inherited check constraints in ALTER COLUMN TYPE. 2012-11-05 13:36:16 -05:00
arrays.out Add array_remove() and array_replace() functions. 2012-07-11 13:59:35 -04:00
bit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
bitmapops.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
boolean.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
box.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
btree_index.out Fix breakage of bitmap scan plan creation for special index operators such 2008-11-20 19:52:54 +00:00
case.out
char_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
char_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
char.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
circle.out
cluster.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
collate.linux.utf8.out Update expected/collate.linux.utf8.out for recent plpgsql changes. 2012-02-18 18:08:02 -05:00
collate.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
combocid.out
comments.out
conversion.out Support hex-string input and output for type BYTEA. 2009-08-04 16:08:37 +00:00
copy2.out Second tweak of COPY FREEZE 2012-12-01 14:55:35 +00:00
copyselect.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
create_aggregate.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_cast.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
create_function_3.out Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
create_index.out Fix planning of btree index scans using ScalarArrayOpExpr quals. 2012-09-18 12:20:34 -04:00
create_misc.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_operator.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_table_like.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
create_table.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
create_type.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_view.out Improve ruleutils.c's heuristics for dealing with rangetable aliases. 2012-09-21 19:03:10 -04:00
date.out Extend the date type to support infinity and -infinity, analogously to 2008-10-14 17:12:33 +00:00
delete.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
dependency.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
domain.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
drop_if_exists.out Fix DROP OPERATOR FAMILY IF EXISTS. 2011-10-21 09:12:23 -04:00
enum.out Allow adding values to an enum type created in the current transaction. 2012-12-01 14:27:30 -05:00
errors.out Be more clear when a new column name collides with a system column name. 2012-01-26 12:44:30 -05:00
euc_cn.out
euc_jp.out
euc_kr.out
euc_tw.out
event_trigger.out Make new event trigger facility actually do something. 2012-07-20 11:39:01 -04:00
float4-exp-three-digits.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float4.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float8-exp-three-digits-win32.out Revert "Add some regression test cases for denormalized float8 input." 2012-02-04 15:52:09 -05:00
float8-small-is-zero_1.out Revert "Add some regression test cases for denormalized float8 input." 2012-02-04 15:52:09 -05:00
float8-small-is-zero.out Revert "Add some regression test cases for denormalized float8 input." 2012-02-04 15:52:09 -05:00
float8.out Revert "Add some regression test cases for denormalized float8 input." 2012-02-04 15:52:09 -05:00
foreign_data.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
foreign_key.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
functional_deps.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
geometry_1.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
geometry_2.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
geometry.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
guc.out Silently ignore any nonexistent schemas that are listed in search_path. 2012-04-11 12:02:50 -04:00
hash_index.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
horology.out On second thought, we'd better just drop these tests altogether. 2011-11-06 20:12:20 -05:00
hs_standby_allowed.out Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
hs_standby_check.out Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
hs_standby_disallowed.out Update standbycheck test output with new ERROR message changes. No changes 2010-05-02 12:28:43 +00:00
hs_standby_functions.out Update standbycheck test output with new ERROR message changes. No changes 2010-05-02 12:28:43 +00:00
inet.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
inherit.out Improve ruleutils.c's heuristics for dealing with rangetable aliases. 2012-09-21 19:03:10 -04:00
insert.out When a row fails a not-null constraint, show row's contents in errdetail. 2011-11-29 18:29:18 -05:00
int2.out Improve handling of INT_MIN / -1 and related cases. 2012-11-19 12:24:25 -05:00
int4.out Improve handling of INT_MIN / -1 and related cases. 2012-11-19 12:24:25 -05:00
int8-exp-three-digits.out Improve handling of INT_MIN / -1 and related cases. 2012-11-19 12:24:25 -05:00
int8.out Improve handling of INT_MIN / -1 and related cases. 2012-11-19 12:24:25 -05:00
interval.out Fix bugs with parsing signed hh:mm and hh:mm:ss fields in interval input. 2012-08-03 17:40:43 -04:00
join.out Fix planning of non-strict equivalence clauses above outer joins. 2012-10-18 12:30:10 -04:00
json.out Revisit error message details for JSON input parsing. 2012-06-13 19:43:35 -04:00
limit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
lseg.out
macaddr.out Add bitwise AND, OR, and NOT operators for macaddr data type. 2012-01-19 15:25:14 -05:00
money.out Add casts from int4 and int8 to numeric. 2011-04-05 09:35:43 -04:00
mule_internal.out
name.out
namespace.out Fix parse location tracking for lists that can be empty. 2012-10-04 17:15:29 -04:00
numeric_big.out
numeric.out Add some enumeration commas, for consistency 2012-02-24 11:04:45 +02:00
numerology_1.out Remove the special cases to prevent minus-zero results in float4 and float8 2009-02-18 19:23:26 +00:00
numerology.out Remove the special cases to prevent minus-zero results in float4 and float8 2009-02-18 19:23:26 +00:00
oid.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
oidjoins.out Update oidjoins regression test to match git HEAD. 2011-11-14 20:28:38 -05:00
opr_sanity.out Add SP-GiST support for range types. 2012-08-16 14:30:45 +03:00
path.out
plancache.out Code review for plpgsql fn_signature patch. 2012-02-01 02:14:37 -05:00
plpgsql.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
point.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
polygon.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
polymorphism.out Make DROP FUNCTION hint more informative. 2012-06-26 13:33:23 -04:00
portals_p2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
portals.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
prepare.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
prepared_xacts_1.out Fix a bug with SSI and prepared transactions: 2011-07-07 18:12:15 +03:00
prepared_xacts.out Adjust regression tests for error message change 2011-08-15 17:27:10 +03:00
privileges.out Fix cascading privilege revoke to notice when privileges are still held. 2012-08-23 17:25:10 -04:00
random.out
rangefuncs.out Implement SQL-standard LATERAL subqueries. 2012-08-07 19:02:54 -04:00
rangetypes.out Add SP-GiST support for range types. 2012-08-16 14:30:45 +03:00
regex.out Re-implement extraction of fixed prefixes from regular expressions. 2012-07-10 14:54:37 -04:00
reltime.out
returning.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
rowtypes.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
rules.out When converting a table to a view, remove its system columns. 2012-10-24 13:39:37 -04:00
sanity_check.out Add SP-GiST support for range types. 2012-08-16 14:30:45 +03:00
select_distinct_on.out Fix assertion failure when a SELECT DISTINCT ON expression is volatile. 2009-09-12 00:04:59 +00:00
select_distinct.out Alter some gratuitous uses of "ANSI" when "SQL standard" might have been 2009-07-11 21:15:32 +00:00
select_having_1.out
select_having_2.out
select_having.out
select_implicit_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_implicit_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_implicit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_into.out Restructure SELECT INTO's parsetree representation into CreateTableAsStmt. 2012-03-19 21:38:12 -04:00
select_views_1.out Improve ruleutils.c's heuristics for dealing with rangetable aliases. 2012-09-21 19:03:10 -04:00
select_views.out Improve ruleutils.c's heuristics for dealing with rangetable aliases. 2012-09-21 19:03:10 -04:00
select.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
sequence_1.out Fix longstanding crash-safety bug with newly-created-or-reset sequences. 2012-07-25 17:42:23 -04:00
sequence.out Fix longstanding crash-safety bug with newly-created-or-reset sequences. 2012-07-25 17:42:23 -04:00
sql_ascii.out
stats.out Prevent index-only scans in stats regression test. 2011-10-08 23:45:58 -04:00
strings.out Rewrite LIKE's %-followed-by-_ optimization so it really works (this time 2010-05-28 17:35:23 +00:00
subselect.out Fix cross-type case in partial row matching for hashed subplans. 2012-10-11 12:22:13 -04:00
temp.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
text.out Message style improvements 2011-07-08 07:37:04 +03:00
time.out
timestamp.out Fix to_char(), to_date(), and to_timestamp() to handle negative/BC 2012-08-07 13:34:44 -04:00
timestamptz.out Fix to_char(), to_date(), and to_timestamp() to handle negative/BC 2012-08-07 13:34:44 -04:00
timetz.out
tinterval.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
transactions.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
triggers.out Throw error if expiring tuple is again updated or deleted. 2012-10-26 14:55:36 -05:00
truncate.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
tsdicts.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
tsearch.out Fix gincostestimate to handle ScalarArrayOpExpr reasonably. 2011-12-20 19:57:34 -05:00
tstypes.out
txid.out
type_sanity.out Collect and use element-frequency statistics for arrays. 2012-03-03 20:20:57 -05:00
typed_table.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
union.out Implement SQL-standard LATERAL subqueries. 2012-08-07 19:02:54 -04:00
update.out Regression tests for TOAST. 2011-04-25 09:48:10 -04:00
uuid.out Improve unique-constraint-violation error messages to include the exact 2009-08-01 19:59:41 +00:00
vacuum.out Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
varchar_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
varchar_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
varchar.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
window.out Fix case of window function + aggregate + GROUP BY expression. 2012-09-13 11:32:25 -04:00
with.out Fix oversight in new code for printing rangetable aliases. 2012-10-12 16:14:43 -04:00
without_oid.out
xml_1.out Prevent access to external files/URLs via XML entity references. 2012-08-14 18:31:16 -04:00
xml.out Prevent access to external files/URLs via XML entity references. 2012-08-14 18:31:16 -04:00
xmlmap_1.out Regression test for XML mapping functionality 2009-07-02 07:03:18 +00:00
xmlmap.out Avoid extra newlines in XML mapping in table forest mode 2012-07-12 23:52:50 +03:00