Skip to content
Snippets Groups Projects

WIP Add gitlab-psql command

Closed username-removed-5302 requested to merge gitlab-psql-command into master

This makes it easier to do adminstrative tasks in PostgreSQL.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
43 44
44 45 [
45 46 postgresql_data_dir,
47 postgresql_rc_dir,
  • @jacobvosmaer how is this different than gitlab-rails dbconsole ?

  • @marin rails dbconsole asks you for a password and connects as the application user. This command connects as the PG superuser.

  • Also, gitlab-psql is intended to function exactly like regular psql which is nice for scripting. I don't know if the same goes for 'rails dbconsole'.

  • Right, you want super user access to everything, not just a database. Makes sense, would be a nice addition!

    Edited by Marin Jankovski
  • Implemented with !798 (merged)

  • Marin Jankovski Status changed to closed

    Status changed to closed

  • Please register or sign in to reply
    Loading