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 16:51:39 -0400
Message-ID: <69653.1530910299@sss.pgh.pa.us> (raw)
In-Reply-To: <1530896890067-0.post@n3.nabble.com>
References: <1530850361998-0.post@n3.nabble.com>
<69178.1530894011@sss.pgh.pa.us>
<1530896890067-0.post@n3.nabble.com>
pavna <daryani.bhawna@gmail.com> writes:
> Thanks Tom for your response! Is there a way to examine the backup to find
> what was missing?
Well, it's whatever was the commutator for that operator. Evidently it
got dropped somewhere along the way.
It's a bit curious that you have this situation, though. AFAICS,
dropping an operator should result in clearing the oprcom link from
its commutator sibling. Perhaps there's some sequence of operations
that that logic fails to handle? It'd be interesting if you can show
a way to reproduce this case.
regards, tom lane
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: <69653.1530910299@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