Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDVB2-00060S-8b for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Apr 2019 14:23:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hDVB0-0000zL-Rn for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Apr 2019 14:23:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDUkv-0008KM-8C for pgsql-bugs@lists.postgresql.org; Mon, 08 Apr 2019 13:56:13 +0000 Received: from smtp4-g21.free.fr ([212.27.42.4]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDUkt-0001Ci-0K for pgsql-bugs@lists.postgresql.org; Mon, 08 Apr 2019 13:56:12 +0000 Received: from [IPv6:2a01:e35:8a7e:5ad0:49a7:83b8:ef75:961b] (unknown [IPv6:2a01:e35:8a7e:5ad0:49a7:83b8:ef75:961b]) by smtp4-g21.free.fr (Postfix) with ESMTP id 7555819F593; Mon, 8 Apr 2019 15:56:08 +0200 (CEST) Subject: Re: BUG #15740: Problem with the creation of prodecures, synonyms and packages To: Pavel Stehule , pgsql-bugs@lists.postgresql.org References: <15740-522710a24d2bcb99@postgresql.org> From: =?UTF-8?Q?Andr=c3=a9_Free?= Message-ID: <4e89c822-b394-22c8-9fca-dad22eb54a2a@free.fr> Date: Mon, 8 Apr 2019 15:56:10 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------66A79FA2DCCA828DB3604F3B" Content-Language: fr List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------66A79FA2DCCA828DB3604F3B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Many thanks for your answer. I would have sworn I had already written procedures for postgresql. Regards. André Miralles. Le 08/04/2019 à 15:41, Pavel Stehule a écrit : > Hi > > po 8. 4. 2019 v 14:50 odesílatel PG Bug reporting form > > napsal: > > The following bug has been logged on the website: > > Bug reference:      15740 > Logged by:          André Miralles > Email address: dedes.miralles@free.fr > PostgreSQL version: 10.7 > Operating system:   windows > Description: > > Dear Sir, > I cannot create prodecures, synonyms and packages on the different > versions > of servers? > Is it a bug? pgAdmin or PostGreSQL ? > I remember that I could do it before. > I contact you because I have not found an answer on the internet. > > > No it is not a bug. PostgreSQL is not Oracle, and is not compatible > with Oracle. > > Procedures are supported from PostgreSQL 11, synonyms and packages are > not supported. Instead synonyms you can set SEARCH_PATH variable and > views. Use schemas instead packages. > > You can find lot of sources about migration from Oracle to Postgres. > Regards > > Pavel Stehule > > Regards. > André. > --------------66A79FA2DCCA828DB3604F3B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,
Many thanks for your answer.
I would have sworn I had already written procedures for postgresql.
Regards.
André Miralles.



Le 08/04/2019 à 15:41, Pavel Stehule a écrit :
Hi

po 8. 4. 2019 v 14:50 odesílatel PG Bug reporting form <noreply@postgresql.org> napsal:
The following bug has been logged on the website:

Bug reference:      15740
Logged by:          André Miralles
Email address:      dedes.miralles@free.fr
PostgreSQL version: 10.7
Operating system:   windows
Description:       

Dear Sir,
I cannot create prodecures, synonyms and packages on the different versions
of servers?
Is it a bug? pgAdmin or PostGreSQL ?
I remember that I could do it before.
I contact you because I have not found an answer on the internet.

No it is not a bug. PostgreSQL is not Oracle, and is not compatible with Oracle.

Procedures are supported from PostgreSQL 11, synonyms and packages are not supported. Instead synonyms you can set SEARCH_PATH variable and views. Use schemas instead packages.

You can find lot of sources about migration from Oracle to Postgres.
 
Regards

Pavel Stehule
Regards.
André.

--------------66A79FA2DCCA828DB3604F3B--