Skip to content

AWS bytes

  • Cheat Sheets
  • Concepts
    • Show All
    • S3 Concepts
  • How-To Guides
    • Show all
    • EC2
    • EBS
    • S3
    • Redshift
    • IAM
    • SQS
    • CloudWatch
    • Billing
  • CLI Guides
  • Contact Us
  • Tutorials
  • Interview Questions
  • Postgresql

Category: Postgresql

Postgresql

PostgreSQL Tutorials

Continue reading
Postgresql

PostgreSQL – Revoke super user privileges

You can revoke the super user privileges previously granted to a database user by running the below sql command where username is

Continue reading
Postgresql

PostgreSQL – Change Schema Owner

Run the below command to change the owner of a postgres schema where schemaname is the name of the schema

Continue reading
Postgresql

PostgreSQL – Renaming a Schema

Below is the command to rename a schema in postgres database where ‘schemaname‘ is the current name of the schema

Continue reading
Postgresql

PostgreSQL – How to generate and insert a random uuid

Postgres database provides a gen_random_uuid() function to generate a random uuid. This function can be used in a sql insert

Continue reading
Postgresql

PostgreSQL – View Database Version

Run the below sql command to query the version of your postgres database. select version();

Continue reading
Postgresql

PostgreSQL – List all tables of a schema

Run the below sql query to view all the tables of a schema in Postgresql database where schemaname is the

Continue reading
Postgresql

PostgreSQL – Describe a Table

PostgreSQL does not provide a ‘DESCRIBE’ command like Oracle. You can however describe a table in Postgres either by querying

Continue reading

Posts pagination

«Previous Posts 1 … 8 9 10
  • PostgreSQL Tutorials
  • Redshift Tutorials
WordPress Theme: Maxwell by ThemeZee.