]> granicus.if.org Git - postgresql/commit
On solaris, createdb/dropdb fails because of strange behavior of system().
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 25 May 2000 06:53:43 +0000 (06:53 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 25 May 2000 06:53:43 +0000 (06:53 +0000)
commit07d4d36aae79cf2ac365e381ed3e7ce62dcfa783
treeaad3d92c19fc48a37cafc11ad9547b942dca724a
parentc439756ffdd69c1248d1c356f5205da7216950c4
On solaris, createdb/dropdb fails because of strange behavior of system().
(it returns error with errno ECHILD upon successful completion of commands).
This fix ignores an error from system() if errno == ECHILD.
src/backend/commands/dbcommands.c