The psql console still operates mainly at the SQL level of input. You need to use your OS's shell to run pg_dump.
Both psql and pg_dump are the same kind of application and are run in a similar fashion. David J. On Thu, Oct 30, 2014 at 11:13 AM, CrabbeS [via PostgreSQL] < ml-node+s1045698n5825071...@n5.nabble.com> wrote: > ok That helps... > > I am now trying this in psql console- think this should work... (still > getting some errors- but will try to figure it out) > > Thank you very much ! > Sarah > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://postgresql.1045698.n5.nabble.com/syntax-error-while-using-pg-dump-in-Postgres-8-4-tp5825054p5825071.html > To unsubscribe from syntax error while using pg_dump in Postgres 8.4, click > here > <http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5825054&code=ZGF2aWQuZy5qb2huc3RvbkBnbWFpbC5jb218NTgyNTA1NHwtMzI2NTA0MzIx> > . > NAML > <http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://postgresql.1045698.n5.nabble.com/syntax-error-while-using-pg-dump-in-Postgres-8-4-tp5825054p5825073.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.