pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works.
2+ messages / 2 participants
[nested] [flat]
* BUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works.
@ 2022-07-01 14:21 PG Bug reporting form <noreply@postgresql.org>
2022-07-01 16:05 ` Re: BUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works. Pavel Stehule <pavel.stehule@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2022-07-01 14:21 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: dsr@randomstring.org
The following bug has been logged on the website:
Bug reference: 17535
Logged by: Dan Ritter
Email address: dsr@randomstring.org
PostgreSQL version: 14.4
Operating system: Debian bullseye with packaging from apt.postgresql
Description:
create extension orafce;
select trunc(current_timestamp);
produces "trunc does not exist" (user did not provide cut-and-paste error,
sorry.)
Works on 3.21.1-1.pgdg110+1 , does not work on 3.22.0-1.pgdg110+1
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works.
2022-07-01 14:21 BUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works. PG Bug reporting form <noreply@postgresql.org>
@ 2022-07-01 16:05 ` Pavel Stehule <pavel.stehule@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Stehule @ 2022-07-01 16:05 UTC (permalink / raw)
To: dsr@randomstring.org, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
pá 1. 7. 2022 v 16:38 odesílatel PG Bug reporting form <
noreply@postgresql.org> napsal:
> The following bug has been logged on the website:
>
> Bug reference: 17535
> Logged by: Dan Ritter
> Email address: dsr@randomstring.org
> PostgreSQL version: 14.4
> Operating system: Debian bullseye with packaging from apt.postgresql
> Description:
>
> create extension orafce;
> select trunc(current_timestamp);
>
> produces "trunc does not exist" (user did not provide cut-and-paste error,
> sorry.)
>
> Works on 3.21.1-1.pgdg110+1 , does not work on 3.22.0-1.pgdg110+1
>
It is expected
In older releases some functions from orafce extension was in public or
pg_catalog schema. It was pretty dirty. Now, all functions are in schema
oracle.
please add schema oracle to search_path
like
set search_path to 'orafce, public';
select trunc(current_timestamp);
https://www.postgresql.org/docs/current/ddl-schemas.html#DDL-SCHEMAS-PATH
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-07-01 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 14:21 BUG #17535: postgresql-14-orafce 3.22.0-1.pgdg110+1 fails; 3.21.1-1.pgdg110+1 works. PG Bug reporting form <noreply@postgresql.org>
2022-07-01 16:05 ` Pavel Stehule <pavel.stehule@gmail.com>
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