Re: Problem in importing database

Lists: pgsql-php
From: Archana K N <archanakknn(at)gmail(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Problem in importing database
Date: 2012-06-05 05:21:19
Message-ID: CACa6=i0ZhwFNch0U2WpE76nJWMTmR8A=VuobYd=CPEQD5tJF=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

Hello,

I got a text file when i exported a database in postgres using
pgadmin it was named 'dump.sql'. And when i tried to import the same to
postgres using pgadmin i got the following error.

"dump.sql:1: ERROR: syntax error at or near "Dumping"
LINE 1: Dumping of complex table and schema names on Windows is not ...
^

Total runtime: 9.419 ms'

I cant figure wat is the problem...plss help..

--
-------------------
regards
archana
--------------------


From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Archana K N <archanakknn(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Problem in importing database
Date: 2012-06-05 09:51:28
Message-ID: 4FCDD6A0.7030107@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

On 05/06/2012 06:21, Archana K N wrote:
> Hello,
>
> I got a text file when i exported a database in postgres
> using pgadmin it was named 'dump.sql'. And when i tried to import the
> same to postgres using pgadmin i got the following error.
>
> "dump.sql:1: ERROR: syntax error at or near "Dumping"
> LINE 1: Dumping of complex table and schema names on Windows is not ...

Reading the contents of the file will give you the answer... :-) Looks
like you got an error message instead of a dump.

Also, I'd guess from the above that you used PhpPgAdmin, not pgAdmin;
they're two very different animals.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie


From: Archana K N <archanakknn(at)gmail(dot)com>
To: rod(at)iol(dot)ie
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Problem in importing database
Date: 2012-06-05 10:17:52
Message-ID: CACa6=i0xE3KU38WoRMYu3Wu_BSSmGQa_fzyr=HGQqhwJujUmug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

Reading the contents of the file will give you the answer... :-) Looks
> like you got an error message instead of a dump.
>
> Also, I'd guess from the above that you used PhpPgAdmin, not pgAdmin;
> they're two very different animals.
>
> Ray.
>

You are right I got an error message instead of data but yesterday i got a
text file which contained database information I dont know today the text
file looked like this.
And am using phppgadmin.

Can i export data correctly???

--
-------------------
regards
archana
--------------------