pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gzh <gzhcoder@126.com>
Cc: Erik Wienhold <ewie@ewie.name>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist
Date: Wed, 19 Apr 2023 13:18:15 -0400
Message-ID: <2993958.1681924695@sss.pgh.pa.us> (raw)
In-Reply-To: <70c95d95.7a58.1879a77ed4f.Coremail.gzhcoder@126.com>
References: <328d2a0.828a.18799afd0ac.Coremail.gzhcoder@126.com>
	<1597875806.606392.1681915893771@office.mailbox.org>
	<70c95d95.7a58.1879a77ed4f.Coremail.gzhcoder@126.com>

gzh  <gzhcoder@126.com> writes:
> Thank you for your prompt reply. 
> Is there another solution if the database is not upgraded to 12.14?

The solution is the same whether you upgrade or not: you need
to adjust your search_path to include the "oracle" schema,
or else explicitly qualify references to orafce functions.

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <2993958.1681924695@sss.pgh.pa.us>
Permalink:  ../2993958.1681924695@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2993958.1681924695@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gzhcoder@126.com, ewie@ewie.name
  Subject: Re: psql:t_mstr.sql:994: ERROR: function to_char(numeric) does not exist
  In-Reply-To: <2993958.1681924695@sss.pgh.pa.us>
  References: <328d2a0.828a.18799afd0ac.Coremail.gzhcoder@126.com> <1597875806.606392.1681915893771@office.mailbox.org> <70c95d95.7a58.1879a77ed4f.Coremail.gzhcoder@126.com> <2993958.1681924695@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