Re: Restore problem

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore problem
Date: 2010-12-29 06:54:30
Message-ID: 201012282254.30983@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On December 28, 2010, "Bob Pawley" <rjpawley(at)shaw(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-12-29 06:58:53 Re: Concatenating several rows with a semicolon
Previous Message Scott Marlowe 2010-12-29 06:00:19 Re: Restore problem