pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pavna <daryani.bhawna@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore error Command was: CREATE OPERATOR ~> ( PROCEDURE = plv8x.json_eval_ls,
Date: Fri, 06 Jul 2018 12:20:11 -0400
Message-ID: <69178.1530894011@sss.pgh.pa.us> (raw)
In-Reply-To: <1530850361998-0.post@n3.nabble.com>
References: <1530850361998-0.post@n3.nabble.com>

pavna <daryani.bhawna@gmail.com> writes:
> When I pg_restore I get  errors. 

> pg_restore: [archiver (db)] could not execute query: ERROR:  argument of
> commutator must be a name
>     Command was: CREATE OPERATOR |> (
>     PROCEDURE = plv8x.json_eval,
>     LEFTARG = plv8x.json,
>     RIGHTARG = text,
>     COMMUTATOR = 27561
> ...

Seems like there's something broken in your source database, ie that
operator has a commutator link that didn't point to an existing operator.
Hard to say any more than that with no more information.

			regards, tom lane




view thread (4+ messages)  latest in thread

Message-ID: <69178.1530894011@sss.pgh.pa.us>
Permalink:  ../69178.1530894011@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/69178.1530894011@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daryani.bhawna@gmail.com
  Subject: Re: pg_restore error Command was: CREATE OPERATOR ~> ( PROCEDURE = plv8x.json_eval_ls,
  In-Reply-To: <69178.1530894011@sss.pgh.pa.us>

* 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