From 33b4ad66c9279a4eff1155031147c18613a691a0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Tue, 27 Jun 2006 18:35:05 +0000
Subject: [PATCH] Revert patch, doesn't do what it should:
* %Disallow changing default expression of a SERIAL column
Dhanaraj M
---
doc/TODO | 6 ++-
doc/src/FAQ/TODO.html | 5 +-
src/backend/catalog/dependency.c | 88 +-------------------------------
src/backend/catalog/heap.c | 49 +-----------------
src/backend/commands/tablecmds.c | 7 +--
src/include/catalog/dependency.h | 5 +-
src/include/catalog/heap.h | 5 +-
7 files changed, 14 insertions(+), 151 deletions(-)
diff --git a/doc/TODO b/doc/TODO
index bb72892fb4..5b5732ed4c 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -208,7 +208,11 @@ Data Types
The positive modulus result returned by NUMERICs might be considered
inaccurate, in one sense.
-* -Disallow changing DEFAULT expression of a SERIAL column
+* %Disallow changing DEFAULT expression of a SERIAL column?
+
+ This should be done only if the existing SERIAL problems cannot be
+ fixed.
+
* %Disallow ALTER SEQUENCE changes for SERIAL sequences because pg_dump
does not dump the changes
* Fix data types where equality comparison isn't intuitive, e.g. box
diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html
index a3144b2f24..f5a46f16db 100644
--- a/doc/src/FAQ/TODO.html
+++ b/doc/src/FAQ/TODO.html
@@ -190,7 +190,10 @@ first.
inaccurate, in one sense.