summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTom Lane2002-08-19 19:33:36 +0000
committerTom Lane2002-08-19 19:33:36 +0000
commita0bf1a7f2e27944ef9e3bd3b5940ca511cbc333e (patch)
treeb2f011c22e8a9d9c5ff92c6886a5940b8a5020a6 /src/test
parent6ebc90b0455ffe9dc0bcaf85185b2746008003f6 (diff)
Fix pg_dump to dump serial columns as serials. Per pghackers discussion,
cause SERIAL column declaration not to imply UNIQUE, so that this can be done without creating an extra index.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/copy2.out1
-rw-r--r--src/test/regress/expected/create_misc.out1
-rw-r--r--src/test/regress/expected/sanity_check.out3
3 files changed, 1 insertions, 4 deletions
diff --git a/src/test/regress/expected/copy2.out b/src/test/regress/expected/copy2.out
index 58a5b6eb22a..300e1744a24 100644
--- a/src/test/regress/expected/copy2.out
+++ b/src/test/regress/expected/copy2.out
@@ -6,7 +6,6 @@ CREATE TABLE x (
e text
);
NOTICE: CREATE TABLE will create implicit sequence 'x_a_seq' for SERIAL column 'x.a'
-NOTICE: CREATE TABLE / UNIQUE will create implicit index 'x_a_key' for table 'x'
CREATE FUNCTION fn_x_before () RETURNS OPAQUE AS '
BEGIN
NEW.e := ''before trigger fired''::text;
diff --git a/src/test/regress/expected/create_misc.out b/src/test/regress/expected/create_misc.out
index 9e1faa0a37f..a2620f0b675 100644
--- a/src/test/regress/expected/create_misc.out
+++ b/src/test/regress/expected/create_misc.out
@@ -137,7 +137,6 @@ INSERT INTO iportaltest (i, d, p)
---
CREATE TABLE serialTest (f1 text, f2 serial);
NOTICE: CREATE TABLE will create implicit sequence 'serialtest_f2_seq' for SERIAL column 'serialtest.f2'
-NOTICE: CREATE TABLE / UNIQUE will create implicit index 'serialtest_f2_key' for table 'serialtest'
INSERT INTO serialTest VALUES ('foo');
INSERT INTO serialTest VALUES ('bar');
INSERT INTO serialTest VALUES ('force', 100);
diff --git a/src/test/regress/expected/sanity_check.out b/src/test/regress/expected/sanity_check.out
index 36837f11063..2dd74613d99 100644
--- a/src/test/regress/expected/sanity_check.out
+++ b/src/test/regress/expected/sanity_check.out
@@ -59,11 +59,10 @@ SELECT relname, relhasindex
pg_trigger | t
pg_type | t
road | t
- serialtest | t
shighway | t
tenk1 | t
tenk2 | t
-(53 rows)
+(52 rows)
--
-- another sanity check: every system catalog that has OIDs should have