pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Database creation taking too long
2+ messages / 2 participants
[nested] [flat]

* Database creation taking too long
@ 2018-01-29 17:40  Mauricio Alejandro De León Cárdenas <mauricio.deleonc@udem.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Mauricio Alejandro De León Cárdenas @ 2018-01-29 17:40 UTC (permalink / raw)
  To: pgsql-bugs

Hi, im trying to create a new user within a rails app using the following
command:
createuser --createdb --login -P myapp

It's been running for almost 1 hour but nothing happens (trying to run it
on windows 10 with git bash). Is this normal?

-- 
Aviso de confidencialidad y exención - Confidential notice and legal advice 
disclaimer -  
www.udem.edu.mx/disclaimer

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Database creation taking too long
@ 2018-01-29 18:35  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mauricio Alejandro De León Cárdenas <mauricio.deleonc@udem.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-01-29 18:35 UTC (permalink / raw)
  To: Mauricio Alejandro De León Cárdenas <mauricio.deleonc@udem.edu>; +Cc: pgsql-bugs

=?UTF-8?Q?Mauricio_Alejandro_De_Le=C3=B3n_C=C3=A1rdenas?= <mauricio.deleonc@udem.edu> writes:
> Hi, im trying to create a new user within a rails app using the following
> command:
> createuser --createdb --login -P myapp

> It's been running for almost 1 hour but nothing happens (trying to run it
> on windows 10 with git bash). Is this normal?

Sounds like it's blocked on a lock, perhaps.  Try opening another
connection to the DB and snooping around in pg_locks to see what's
blocking it.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-01-29 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 17:40 Database creation taking too long Mauricio Alejandro De León Cárdenas <mauricio.deleonc@udem.edu>
2018-01-29 18:35 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox