Re: the difference between psql , createdb, dropuser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, October 27, 2019, Setve <setve@xxxxxxxxxxxxxx> wrote:
I can execute the create user or create db .etc... command at a PostgreSQL interactive terminal so why are these commands "createuser , createdb , dropdb etc.... separately and what is their purpose?


Its simply an abstraction so one can execute those actions in a shell without including and dealing with raw SQL - thus removing SQL-injection exposure.

David J.
 

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux