Re: libpq CREATE DATABASE operation from multiple treads

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: p(dot)sun(dot)fun(at)gmail(dot)com
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: libpq CREATE DATABASE operation from multiple treads
Date: 2020-10-08 20:57:34
Message-ID: 2631121.1602190654@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

p(dot)sun(dot)fun(at)gmail(dot)com writes:
> On Thu, 2020-10-08 at 16:36 -0400, Tom Lane wrote:
>> You'd be better off to connect to some other database than template1;

> What would be the best strategy to create a database from user
> standpoint of view?

Connect to the postgres database. That's what it's there for.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message p.sun.fun 2020-10-09 03:33:04 Re: libpq CREATE DATABASE operation from multiple treads
Previous Message Tom Lane 2020-10-08 20:56:28 Re: libpq CREATE DATABASE operation from multiple treads