Database creation taking too long
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
Import Notes
Reply to msg id not found: CAPNTpTSEFPnp2C1fc3LGenB8Y43kD1Xrw1JTeU9LXNOv9RwGLw@mail.gmail.comReference msg id not found: CAPNTpTS83dXYZk2Bur8PmUdW3yNBcSoPwD3tnPLVSW4oWWpskA@mail.gmail.comReference msg id not found: CAPNTpTS+rXir8Z+k6nLunFQTTitBdGz1bZL5WTt0qv7eXPPRgA@mail.gmail.comReference msg id not found: CAPNTpTT4zbTCokbTY1naUHEo--8H8z=iEJ3foP26BmXE2uAwPA@mail.gmail.comReference msg id not found: CAPNTpTRZ6LhJcp1nVCmDKimVAWFqCKBhknmAMqZ24qEqehOydw@mail.gmail.comReference msg id not found: CAPNTpTSEFPnp2C1fc3LGenB8Y43kD1Xrw1JTeU9LXNOv9RwGLw@mail.gmail.com
=?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