I am using a postgresql on Ubuntu. It already has my username testuser that I have checked using the following command:
\du
But whenever I create a database, it says that the owner is postgres:
create database tempdb;
I want the user of tempdb to be tempuser rather than postgres. Could you tell me how can I do that?