Skip to main content
Home
  • My Account
    • Support Portal
    • Training Portal
    • Migration Portal
    • Partner Portal
    • Account Settings
    • Sign Out
  • Sign In
    • Sign In
  • Contact Us
  • Buy Now
  • Platform
    • EDB Postgres AI View the platform »
      • Core Database
      • Analytics
      • Agentic AI
      • Deploy Anywhere
    • FEATURED CAPABILITIES
      • Hybrid Manager
      • Agent Factory
      • Agentic Database
      • Warehouse Analytics
      • Distributed HA
      • Converged Analytics
      • Sovereign Data and AI Factory
      • Data and AI Governance
      • Agentic Migrations
      • OSS Library
    • BUILT ON OPEN SOURCE
      • PostgreSQL
      • WarehousePG
      • CloudNativePG
      • ClickHouse
  • Solutions
    • SERVICES
      • Sovereign Assurance
      • Technical Account Management
      • Managed Experiences
      • Customer Support
    • BLUEPRINTS
      • All Blueprints
      • BP 01: Real-Time ML Inference
      • BP 02: Agentic Analytics
      • BP 03: Sovereign Data Lakehouse
    • Industries
      • Banking
      • Government
      • Healthcare
      • InfoSec
      • Utilities
    • USE CASES
      • Sovereign AI
      • Legacy App Modernization
      • Hybrid DBaaS
      • Omni-Data Platform
      • Secure Open Source Software
      • Microservices with Kubernetes
      • More Use Cases »
  • Sovereignty
    • What Is Sovereignty? Data and AI sovereignty, explained
    • Sovereignty Research Our global study with 2,050 execs
    • Global Report Full methodology and statistical analsyis
    • The 4 Segments Summary report of success categories
    • Self-Assessment Tool Find out what category you belong in
    • Executive Infographic Visual summary of key statistics
    • Sovereignty in Banking Insights specific to the financial sector
    • Read the Study Developed in partnership with MIT
  • Partners
    • Partner Program
      • Partner Portal
      • Find a Partner
      • Become a Partner
    • Strategic Alliances
      • IBM
      • NVIDIA
      • Red Hat
      • Supermicro
  • Resources
    • Developer Support
      • Product Documentation EDB product documentation
      • Knowledge Base Searchable articles and updates
      • Support Support for PostgreSQL everywhere
      • Training Learn Postgres from EDB experts
      • EDB POSTGRES AI PLANS Key features and support terms
    • Legal & Technical
      • EDB Trust Center Knowledge base on our security posture
      • Platform Compatibility Supported versions and operating systems
      • Licensing Guide Defining EDB license entitlements
      • EDB EULA Simple access to the EDB EULA
      • EDB Purchase Program Simple access to products and services
    • DOWNLOADS
      • EDB Software Downloads EDB integrated portfolio of software
      • Open Source PostgreSQL PostgreSQL package and installers
    • LEARN & EXPLORE
      • Demos Tours of EDB Postgres AI capabilities
      • Benchmark Reports Studies of EDB Postgres AI performance
      • Blog Industry news and thought leadership
      • Events Find us at community and industry events
      • Webinars Upcoming and on-demand webinars
      • White Papers Postgres analysis from the experts
      • Podcast AI and Data Horizons: The Sovereign Future
      • Learning Library Introductory guides to Postgres topics
  • About
    • About EDB
    • Customers
    • Newsroom
    • Leadership
    • Careers
    • Contact Us

Header CTA

  • My Account
    • Support Portal
    • Training Portal
    • Migration Portal
    • Partner Portal
    • Account Settings
    • Sign Out
  • Sign In
    • Sign In
  • Contact Us
  • Buy Now

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
    • Core Database
    • Analytics
    • Agentic AI
    • Deploy Anywhere
  • Solutions
    • Blueprints
    • Use Cases
    • Technical Account Management
    • Customer Support
    • Sovereign Assurance
    • Managed Experiences
  • Technical Resources
    • Product Documentation
    • EDB Software Downloads
    • Support Portal
    • Training
    • Trust Center
    • EDB Postgres AI Plans
  • Learn & Explore
    • Sovereignty
    • Blog
    • Customer Success Stories
    • Events
    • Webinars
    • White Papers
  • Company
    • About
    • Press & News
    • Careers
    • Strategic Alliances
    • Contact Us

Footer Copyright CTA

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