Amazon Redshift non supporterà più la creazione di nuove UDF Python a partire dal 1º novembre 2025. Se desideri utilizzare le UDF Python, creale prima di tale data. Le UDF Python esistenti continueranno a funzionare normalmente. Per ulteriori informazioni, consulta il post del blog
Creazione, modifica ed eliminazione di utenti
Gli utenti del database sono globali in un cluster di data warehouse (non per ogni singolo database).
-
Per creare un utente, utilizza il comando CREA UTENTE.
-
Per creare un utente con privilegi avanzati, utilizza il comando CREA UTENTE con l'opzione CREATEUSER.
-
Pr rimuovere un utente esistente, utilizza il comando DROP USER.
-
Per modificare un utente, ad esempio per cambiare una password, utilizza il comando ALTER USER.
-
Per visualizzare un elenco di utenti, esegui una query sulla tabella del catalogo PG_USER.
select * from pg_user; usename | usesysid | usecreatedb | usesuper | usecatupd | passwd | valuntil | useconfig ------------+----------+-------------+----------+-----------+----------+----------+----------- rdsdb | 1 | t | t | t | ******** | | masteruser | 100 | t | t | f | ******** | | dwuser | 101 | f | f | f | ******** | | simpleuser | 102 | f | f | f | ******** | | poweruser | 103 | f | t | f | ******** | | dbuser | 104 | t | f | f | ******** | | (6 rows)