Re: Restore problem - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Restore problem
Date
Msg-id 201012282254.30983@hal.medialogik.com
Whole thread Raw
In response to Re: Restore problem  ("Bob Pawley" <rjpawley@shaw.ca>)
Responses Re: Restore problem  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
List pgsql-general
On December 28, 2010, "Bob Pawley" <rjpawley@shaw.ca> wrote:
> It's often a good idea to maintain function definitions outside the
> database,
> under version control, and apply them to the database from there.
>
> I would appreciate a more detailed explanation of this.

Treat them like source code.

>
> Bob
>
> Also, try a unix2dos utility on the text of the functions before giving
> up and hand editing them.
>
> I'll look at that - I'm also looking at something called Vim
> http://www.vim.org/download.php

vim is an excellent open source text editor. Which may fix your problem if
it's related to line endings.

--
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: Scott Marlowe
Date:
Subject: Re: Restore problem
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Concatenating several rows with a semicolon