Issue with fixseq.sql in 8.1 release notes

From: "George Woodring" <george(dot)woodring(at)iglass(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Issue with fixseq.sql in 8.1 release notes
Date: 2006-01-12 14:27:05
Message-ID: 1B1B254441DB31448BD34C5BD73B0B8B1BE583@PHOENIX.istructure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I have install 8.1.2 on my test box and loaded data from a 7.4.8
database.

I was running fixseq.sql copied from the release notes to up date the
sequences and the output has an extra "\" character

ALTER TABLE public.modems_old ALTER COLUMN modemsid SET DEFAULT
nextval\('modems_id');

To fix it I had to change the 3rd argument in the regexp_replace()

$$val\(\1$$ --> $$val(\1$$

I thought I would let someone know just in case something has changed
since 8.1 and the release notes needed updating.

Woody

----------------------------------------
iGLASS Networks
211-A S. Salem St
Apex NC 27502
(919) 387-3550 x813
www.iglass.net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McCawley 2006-01-12 14:35:04 Re: regarding triggers
Previous Message Larry Rosenman 2006-01-12 14:22:39 Re: Granting Privleges on All Tables in One Comand?