Re: Restore problem - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Restore problem
Date
Msg-id 201012282012.30694@hal.medialogik.com
Whole thread Raw
In response to Re: Restore problem  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Restore problem  ("Bob Pawley" <rjpawley@shaw.ca>)
List pgsql-general
On December 28, 2010, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> On 12/28/2010 07:40 PM, Bob Pawley wrote:
> >> Open the file in Wordpad and see if it looks better.
> >>
> >> I downloaded an sql editor and it looks the same in it as well.
> >>
> >> At least the editor will make it easier to fix the problem. However I
> >> would like to know what happened so I can avoid it in the future.
> >

It's often a good idea to maintain function definitions outside the database,
under version control, and apply them to the database from there.

Also, try a unix2dos utility on the text of the functions before giving up
and hand editing them.

--
A hybrid Escalade is missing the point much in the same way that having a
diet soda with your extra large pepperoni pizza is missing the point.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Restore problem
Next
From: Bricklen
Date:
Subject: Re: B-tree index with sorting question