Re: database export in pgsql

From: Richard Huxton <dev(at)archonet(dot)com>
To: Vikas <vikas(dot)yadav(at)ctwoodapple(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: database export in pgsql
Date: 2005-05-10 13:23:22
Message-ID: 4280B5CA.1040701@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vikas wrote:
> Hi,
>
> Im having problems in exporting my local pgdb to my server with data.
> I do a backup and everytime i get stuck in functions or some $libdir or
> function pg_logdir_ls() etc.

pg_dump shouldn't ever "get stuck" at any point.

> I ignore those function definations but then it crashes on some create
> table statement.

Neither pg_dump nor pg_restore should crash.

> I believe there is a easy way to generate the database script which does
> not include so many types of objects
> since my db does not use functions only generic tables and views.

If you don't have any functions, there shouldn't be any functions in the
dump.

What exact commands are you running?
What is the precise error message you receive?

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Manes 2005-05-10 13:31:41 Re: Data Modelling Tools
Previous Message Zlatko Matic 2005-05-10 13:20:31 Re: Delphi - Developers start develop Access components for Postgres?