pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: pgsql-sql@postgresql.org
Subject: Re: pg_restore problem
Date: Wed, 2 Feb 2005 15:46:46 -0500
Message-ID: <000801c50968$525ecb00$797ba8c0@jfradkin> (raw)
In-Reply-To: <74EFBC01-7557-11D9-AC7D-000D932ED682@nuvio.com>

I used pgadmin to save and mine would not restore saying something about the
encoding.

I will have to be able to save and restore reliably as well.

 

Also I never heard anything further on the query running slow (I put up
table defs and analyze with and without seq on).

I am running into this on several of my views (I guess I am not too bright,
because I still don't get why it chooses seq scan on indexed tables).

I can force it to use index and did see a little improvement, but the MSSQL
was 3 secs and Postgres was like 9.

Seeing as how I got the one viw to return faster (it was very complex view)
on postgres, my guess is I still have stuff to do. I did try changing the
cost to a lower number in config and redid my analyze, but it was still
trying to do a seq scan.

 

Joel Fradkin

 

Wazagua, Inc.
2520 Trailmate Dr
Sarasota, Florida 34243
Tel.  941-753-7111 ext 305

 

jfradkin@wazagua.com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
C 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc
 This email message is for the use of the intended recipient(s) and may
contain confidential and privileged information.  Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and delete and destroy
all copies of the original message, including attachments.

 


 

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Bradley Miller
Sent: Wednesday, February 02, 2005 3:17 PM
To: Postgres List
Subject: [SQL] pg_restore problem

 

I'm attempting to restore a dump from one server to another (one is a Mac
and one is a Linux base, if that makes any difference). I keep running into
issues like this:

pg_restore: [archiver (db)] could not execute query: ERROR: function
public.random_page_link_id_gen() does not exist

This is what I'm using to restore the files with:

pg_restore -O -x -s -N -d nuvio mac_postgres_2_2_2005_13_24 

Any suggestions on how to get around this problem? It's a huge pain so far
just to sync my two servers up.

Bradley Miller
NUVIO CORPORATION
Phone: 816-444-4422 ext. 6757
Fax: 913-498-1810
http://www.nuvio.com
bmiller@nuvio.com

view thread (9+ messages)  latest in thread

Message-ID: <000801c50968$525ecb00$797ba8c0@jfradkin>
Permalink:  ../000801c50968$525ecb00$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000801c50968$525ecb00$797ba8c0@jfradkin

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jfradkin@wazagua.com
  Subject: Re: pg_restore problem
  In-Reply-To: <000801c50968$525ecb00$797ba8c0@jfradkin>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox