Skip to main content
Home
  • My Account
    • Dashboard
    • Rai Copilot
    • Support Portal
    • Training Portal
    • Migration Portal
    • Partner Portal
    • Account Settings
    • Sign Out
  • Sign In
    • EDB Login
    • EDB Postgres AI Login
  • Contact Us
  • EDB Postgres AI
    • PLATFORM
      • EDB POSTGRES AI
        • Database Always-on sovereign Postgres database
        • Hybrid Management Hybrid control and unified observability
        • AI Factory Low-code/no-code GenAI innovation
        • Analytics Accelerator Rapid insights from your operational data
        • Sovereign Assurance Subscription to optimize EDB Postgres AI
    • HOW TO DEPLOY
      • Hybrid Software Deploy in your environment of choice
      • Sovereign Data and AI Factory Turnkey system for AI-ready Postgres
      • Managed Platform Your platform, delivered and optimized
    • USE CASES
      • Sovereign AI
      • Legacy App Modernization
      • Hybrid DBaaS
      • Omni-Data Platform
      • Secure Open Source Software
      • Microservices with Kubernetes
      • MORE USE CASES
    • SERVICES & SUPPORT
      • Customer Support Increase your Postgres productivity and decrease your risk
      • Professional Services Expert services and support
      • Remote DBA Expert proactive support for your deployments
      • Technical Account Management Proactive guidance and partnership
  • Resources
    • TECHNICAL RESOURCES
      • Product Documentation EDB product documentation
      • Platform Compatibility Supported versions and operating systems
      • Knowledge Base Searchable articles and updates
      • Training Learn Postgres from EDB experts
      • Support Support for PostgreSQL everywhere
      • EDB Trust Center Knowledge base on our security posture
      • EDB Purchase Program Simple access to products and services
      • Licensing Guide Defining EDB license entitlements
      • EDB EULA Simple access to the EDB products and services EULA
      • EDB Postgres AI Plans Key features and support terms
    • DOWNLOADS
      • EDB Software Downloads EDB integrated portfolio of software
      • Open Source PostgreSQL Open source PostgreSQL package and installers
    • LEARN & EXPLORE
      • Blog Industry news and thought leadership
      • Customer Success Stories Achieving more with Postgres
      • Benchmark Reports Studies of EDB Postgres AI performance
      • Events Local events near you
      • Webinars Upcoming and on-demand webinars
      • Podcast AI and Data Horizons: The Sovereign Future
      • White Papers PostgreSQL research and analysis
      • Learning Library Introductory guides to Postgres topics

    DATA & AI SOVEREIGNTY

    DATA & AI SOVEREIGNTY
    WHAT IS SOVEREIGN AI?
    sovereign data teaser
    Learn why and how to build your AI on your terms with a data platform you control.
    Read More
  • Company
    • EDB
      • About EDB
      • Leadership
      • Press & News
      • Careers
      • Contact Us
    • STRATEGIC ALLIANCES
      • Amazon Web Services
      • Google Cloud Platform
      • Microsoft Azure
      • NVIDIA
      • Red Hat OpenShift
      • Supermicro
    • PARTNERS
      • Partner Portal
      • Become a Partner
      • Find a Partner
      • EDB Partners
      • Why Partner With EDB
      • EDB Partner Academy

    DATA & AI SOVEREIGNTY

    DATA & AI SOVEREIGNTY
    WHAT IS SOVEREIGN AI?
    sovereign data teaser
    Learn why and how to build your AI on your terms with a data platform you control.
    Read More

Header CTA

  • My Account
    • Dashboard
    • Rai Copilot
    • Support Portal
    • Training Portal
    • Migration Portal
    • Partner Portal
    • Account Settings
    • Sign Out
  • Sign In
    • EDB Login
    • EDB Postgres AI Login
  • Contact Us

How to sort rows using ORDER BY and SELECT in PostgreSQL: 6 Examples

This article reviews five ways to sort table data using the ORDER BY clause together with the SELECT statement in PostgreSQL.
January 24, 2023

How to implement repmgr for PostgreSQL automatic failover

This article discusses the open source tool repmgr (Replication Manager) and how to set up and configure it for automatic failover in PostgreSQL.
January 24, 2023

Why you should use Connection Pooling when setting Max_connections in Postgres

PostgreSQL is “The World’s Most Advanced Open Source Database,” and I believe it. In my 10+ years of working with it, it’s been solid, serving up data to SaaS loads...
January 24, 2023

Everything you need to know about Postgres stored procedures and functions

This article reviews the differences between stored procedures and functions in Postgres and the types of functionality they provide.
January 24, 2023

PostgreSQL Toast and Working with BLOBs/CLOBs Explained

Almost every table you create has its own associated (unique) TOAST table, which may or may not ever end up being used, depending on the size of rows you insert...
January 24, 2023

Examples of using GREATEST and LEAST functions in PostgreSQL

This article discusses the conditional expressions GREATEST and LEAST in PostgreSQL and gives some examples of their usage.
January 24, 2023

How to Connect PostgreSQL using SQL Developer, Visual Studio and DBeaver

So, you’ve installed your Postgres database, whether Community Edition, EDB Postgres Advanced Server or one of many other cloud, container, or Database as a Service offerings out there. Now what...
January 24, 2023

How to add PostgreSQL driver as a dependency in Maven

Have you at any point needed to connect to your PostgreSQL database using Java and didn't have a clue how to add it as a Maven dependency? Now you can...
January 24, 2023

Why you should use Docker Compose

This article explains the benefits of using Docker Compose for creating multiple container applications.
January 24, 2023

What is the Equivalent of ROWID in PostgreSQL?

This article looks at how the ctid field in PostgreSQL functions as an approximate equivalent to ROWID in Oracle databases. The ctid field is introduced and its function as a...
January 24, 2023

Pagination

  • Previous page ‹‹
  • Page 4
  • Next page ››
Subscribe to Postgres Tutorials
edb postgres ai darkmode
Off
Off

Social Nav Footer

Footer Nav Main

  • Platform
    • EDB Postgres AI
    • Database
    • Hybrid Management
    • AI Factory
    • Analytics Accelerator
    • Sovereign Assurance
  • Use Cases
    • Sovereign AI
    • Legacy App Modernization
    • Hybrid DBaaS
    • Omni-data Platform
    • Secure Open Source Software
    • More Use Cases
  • Technical Resources
    • Product Documentation
    • EDB Software Downloads
    • Support Portal
    • Training
    • Trust Center
    • EDB Postgres AI Plans
    • EDB Purchase Program
  • Learn & Explore
    • Blog
    • Customer Success Stories
    • Events
    • Webinars
    • White Papers
    • Learning Library
  • Company
    • About
    • Leadership
    • Press & News
    • Careers
    • Partners
    • Contact Us

Footer Copyright CTA

  • © 2025 EDB
  • Legal Notices
  • ESG
  • Privacy Policy
  • Marketing Preferences
  • Cookie Preferences