Re: Error Message Importing Into PostgreSQL (Using phpPgAdmin)

Поиск
Список
Период
Сортировка
От Russell Smith
Тема Re: Error Message Importing Into PostgreSQL (Using phpPgAdmin)
Дата
Msg-id 200409011529.42421.mr-russ@pws.com.au
обсуждение исходный текст
Ответ на Error Message Importing Into PostgreSQL (Using phpPgAdmin)  ("Daniel Secomb" <dan@ds-d.com>)
Список pgsql-general
On Wed, 1 Sep 2004 12:53 pm, Daniel Secomb wrote:
> Hi,
>
> I'm using PostgreSQL 7.3.4 with phpPgAdmin 2.4.2 and the ".sql" file I'm
> trying to import came from a dump from a server running PostgreSQL 7.0.3.
>
I'd suggest a phpPgAdmin upgrade 3.4 is the latest.

> I just got this error message trying to import the PostgreSQL database file
> into phpPgAdmin. The error message was as follows:
>
> Error -
> /usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php --
> Line: 33
> PostgreSQL said: ERROR: parser: parse error at or near "\" at character 1
> Your query:
> \connect - postgres
> CREATE SEQUENCE "acls_bannerid_seq" start 1 increment 1 maxvalue 2147483647
> minvalue 1 cache 1 ;
>
This is designed to be sent to psql, which understands \connect.
phpPgadmin does not.  I would suggest restoring using psql.

Regards

Russell Smith

В списке pgsql-general по дате отправления:

Предыдущее
От: "Vidyasagara Guntaka"
Дата:
Сообщение: Re: Not able to build libpq for Windows
Следующее
От: trisuresh@yahoo.co.in (Suresh Tri)
Дата:
Сообщение: Re: Overloading '<' operator