• HannieHannie
  • November 26, 2017
  • 0 Comments
Constraints in Postgresql

Constraints: ->Constraints are the rules enforced on data columns on table. -> These are used to prevent invalid data from being entered into the database. This ensures the accuracy and…

  • HannieHannie
  • November 24, 2017
  • 0 Comments
Extensions in Postgresql

-> Its helpful to collect all objects into a single package is called extension. Eg: If a new data type will require new functions,new operators and new index operator classes…

  • HannieHannie
  • November 21, 2017
  • 0 Comments
Restore in postgresql

-> To restore the custom dump then we should always use pg_restore Syntax:instllation_location -Fc -d db_name port location_of_dump_file cmd: /usr/local/pgsql/bin/pg_restore -Fc -d sandbox_db -p 5435 /DB/sandbox_db_21_nov_17_custom -> To restore the…

  • HannieHannie
  • November 21, 2017
  • 0 Comments
Backup using pg_dump in Postgresql

To take the custom dump: Syntax: pgsql installation_directory type_of_dump database_name port location_of_file then use this cmd and then enter password for the user. cmd: /usr/local/pgsql/bin/pg_dump -Fc -d sandbox_db_nims -p 5435…