From: | Anderson Antunes <anderson(dot)ant(dot)oli(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Suggestion |
Date: | 2018-06-30 04:59:55 |
Message-ID: | CAAHHTi-Uo8d94zuV3eNq7fHMr7bMViJEZ_un0=TDODSeOPt3_g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi. I did not find the email referring to suggestions for improvement on
the site so I sent it to this email.
I miss two features that exist in the Oracle database but are not in
PostgreSQL.
1 - PIVOT and UNPIVOT
2 - UPDATE SET ROW
In Oracle it is possible to update a table with a ROWTYPE using the ROW. In
PostgreSQL it shows the following error: column "row" of relation
"my_table" does not exist.
Ex: update padrao.pessoa_fisica_rg
set row = (select p_rc_pessoa_fisica_rg.*)
where id = p_rc_pessoa_fisica_rg.id;
https://docs.oracle.com/database/121/LNPLS/composites.htm#LNPLS99929
http://psoug.org/definition/ROW.htm
https://stackoverflow.com/questions/43791535/updating-a-row-using-a-rowtype-variable-in-postgres
https://www.postgresql.org/message-id/003d01cc966c%2467f4c2b0%2437de4810%24%40com.co
Is there any release for these two features?
Att,
Anderson Antunes
From | Date | Subject | |
---|---|---|---|
Next Message | Nelson Castiblanco | 2018-06-30 14:45:48 | PgAdmin - AlertityjS - Query Tool Initialize Error |
Previous Message | David G. Johnston | 2018-06-29 21:16:11 | Re: BUG #15256: Comparing if a rowtype is null |