Skip to content

zsh: command not found: pg_isready #379

@jpanknin

Description

@jpanknin

Location within the Book

  • Book order number: 0120782500
  • Book build date (Is the date on page 1): 2021-06-30
  • Book format (PDF, Epub or Mobi): PDF
  • Chapter or Appendix: 19
  • Section: 3
  • Subsection: 3
  • What operating system are you using:
    • Linux (Ubuntu 20.04)
    • Linux (Ubuntu 18.04)
    • Linux (Other)
    • MacOS Catalina
    • MacOS Mojave
    • MacOS Big Sur
    • [ x ] MacOS Monterey
    • Windows 10 Pro, Version 2004 or higher
    • Windows 10 Pro, Version 1909 or lower
    • Windows 10 Home, Version 2004 or higher
    • Windows 10 Home, Version 1909 or lower

Hint: Page numbers change all the time. The best way to report an issue is by chapter, section, and subsection numbers.

Description

From section 19.3.3 Start PostgreSQL if Needed

  • When I type in pg_isready I get the error "zsh: command not found: pg_isready"
  • I've retraced the steps in both chapters 18 and 19, but I can't see that I missed anything

If grammar, enter problematic text here, otherwise delete this line.

 $ pg_isready
zsh: command not found: pg_isready

It seems postgres is not installed at all.  I seem to be in the proper directory and when I try to check the version of postgres I get the following:

(everycheese) joshpanknin@joshs-mbp-2 everycheese % ls
CONTRIBUTORS.md         env.sample.windows      requirements
COPYING                 everycheese             requirements.txt
README.md               locale                  setup.cfg
config                  manage.py
env.sample.mac_or_linux pytest.ini
(everycheese) joshpanknin@joshs-mbp-2 everycheese % postgres -V
zsh: command not found: postgres


Possible Solutions

Can't find anything online

Your full name so we can provide accurate credit within the book

Josh Panknin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions