Datasets:
Download web/postgresql.org/reference/site/docs/current/features.html from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/postgresql.org/reference/site/docs/current/features.html
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/postgresql.org/reference/site/docs/current/features.html
-
curl -L -o features.html https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/postgresql.org/reference/site/docs/current/features.html
18.7 kB
| <html data-theme="light" lang="en"><head> | |
| <title>PostgreSQL: Documentation: 18: Appendix D. SQL Conformance</title> | |
| <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/> | |
| <meta content="text/xhtml; charset=utf-8" http-equiv="Content-Type"/> | |
| <meta content="#336791" name="theme-color"/> | |
| <meta content="The PostgreSQL Global Development Group" name="copyright"/> | |
| <meta content="/docs/18/features.html" property="og:url"/> | |
| <meta content="article" property="og:type"/> | |
| <meta content="2026-02-26T14:07:09" property="article:published_time"/> | |
| <meta content="/media/img/about/press/elephant.png" property="og:image"/> | |
| <meta content="Appendix D. SQL Conformance" property="og:title"/> | |
| <meta content="Appendix&nbsp;D.&nbsp;SQL Conformance Table of Contents D.1. Supported Features D.2. Unsupported Features D.3. XML Limits and Conformance to SQL/XML D.3.1. Queries …" property="og:description"/> | |
| <meta content="PostgreSQL Documentation" property="og:site_name"/> | |
| <link href="/media/css/fontawesome.css?54a05eb2" rel="stylesheet"/> | |
| <link href="/media/css/bootstrap-4.4.1.min.css" rel="stylesheet"/> | |
| <link href="/favicon.ico" rel="shortcut icon"/> | |
| <link href="/dyncss/base.css?54a05eb2" rel="stylesheet" type="text/css"/> | |
| <script src="/media/js/theme.js?54a05eb2"></script> | |
| <link href="/docs/current/features.html" rel="canonical"/> | |
| </head> | |
| <body> | |
| <div class="container-fluid"> | |
| <div class="row justify-content-md-center"> | |
| <div class="col"> | |
| <!-- Header --> | |
| <nav class="navbar navbar-expand-lg navbar-light bg-light"> | |
| <a class="navbar-brand p-0" href="/"> | |
| <img alt="PostgreSQL Elephant Logo" class="logo" src="/media/img/about/press/elephant.png"/> | |
| </a> | |
| <input aria-controls="pgNavbar" aria-expanded="false" aria-label="Toggle navigation" id="navbar-toggler" type="checkbox"/> | |
| <label class="navbar-toggler" for="navbar-toggler" id="navbar-toggler-label" tabindex="0"><span class="navbar-toggler-icon"></span></label> | |
| <div class="navbar-collapse" id="pgNavbar"> | |
| <ul class="navbar-nav mr-auto"> | |
| <li class="nav-item p-2"><a href="/" title="Home">Home</a></li> | |
| <li class="nav-item p-2"><a href="/about/" title="About">About</a></li> | |
| <li class="nav-item p-2"><a href="/download/" title="Download">Download</a></li> | |
| <li class="nav-item p-2"><a href="/docs/" title="Documentation">Documentation</a></li> | |
| <li class="nav-item p-2"><a href="/community/" title="Community">Community</a></li> | |
| <li class="nav-item p-2"><a href="/developer/" title="Developers">Developers</a></li> | |
| <li class="nav-item p-2"><a href="/support/" title="Support">Support</a></li> | |
| <li class="nav-item p-2"><a href="/about/donate/" title="Donate">Donate</a></li> | |
| <li class="nav-item p-2"><a href="/account/" title="Your account">Your account</a></li> | |
| </ul> | |
| <form action="/search/" method="get" role="search"> | |
| <div class="input-group"> | |
| <input accesskey="s" class="form-control" id="q" maxlength="255" name="q" placeholder="Search for..." size="20" type="text"/> | |
| <span class="input-group-btn"> | |
| <button class="btn btn-default" type="submit"><i class="fas fa-search"></i></button> | |
| </span> | |
| </div><!-- /input-group --> | |
| </form> | |
| <form class="form-inline" id="form-theme"> | |
| <button class="btn btn-default ml-1" id="btn-theme" type="button"><i class="fas fa-moon"></i></button> | |
| </form> | |
| </div> | |
| </nav> | |
| </div> | |
| </div> | |
| <div class="row justify-content-center pg-shout-box"> | |
| <div class="col text-white text-center">February 26, 2026: <a href="/about/news/postgresql-183-179-1613-1517-and-1422-released-3246/"> | |
| PostgreSQL 18.3, 17.9, 16.13, 15.17, and 14.22 Released! | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="container-fluid margin"> | |
| <div class="row"> | |
| <div class="col-11" id="pgContentWrap"> | |
| <div class="row"> | |
| <div class="col-md-6 mb-2"> | |
| <div class="row"> | |
| <div class="col"> | |
| <div> | |
| <a href="/docs/" title="Documentation">Documentation</a> → <a href="/docs/18/index.html">PostgreSQL 18</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="row"> | |
| <div class="col"> | |
| Supported Versions: | |
| <a class="docs-version-selected" href="/docs/current/features.html" title="PostgreSQL 18 - Appendix D. SQL Conformance">Current</a> | |
| (<a class="docs-version-selected" href="/docs/18/features.html" title="PostgreSQL 18 - Appendix D. SQL Conformance">18</a>) | |
| / | |
| <a href="/docs/17/features.html" title="PostgreSQL 17 - Appendix D. SQL Conformance">17</a> | |
| / | |
| <a href="/docs/16/features.html" title="PostgreSQL 16 - Appendix D. SQL Conformance">16</a> | |
| / | |
| <a href="/docs/15/features.html" title="PostgreSQL 15 - Appendix D. SQL Conformance">15</a> | |
| / | |
| <a href="/docs/14/features.html" title="PostgreSQL 14 - Appendix D. SQL Conformance">14</a> | |
| </div> | |
| </div> | |
| <div class="row"> | |
| <div class="col"> | |
| Development Versions: | |
| <a href="/docs/devel/features.html" rel="nofollow" title="PostgreSQL devel - Appendix D. SQL Conformance">devel</a> | |
| </div> | |
| </div> | |
| <div class="row"> | |
| <div class="col-12"> | |
| Unsupported versions: | |
| <a href="/docs/13/features.html" rel="nofollow" title="PostgreSQL 13 - Appendix D. SQL Conformance">13</a> | |
| / | |
| <a href="/docs/12/features.html" rel="nofollow" title="PostgreSQL 12 - Appendix D. SQL Conformance">12</a> | |
| / | |
| <a href="/docs/11/features.html" rel="nofollow" title="PostgreSQL 11 - Appendix D. SQL Conformance">11</a> | |
| / | |
| <a href="/docs/10/features.html" rel="nofollow" title="PostgreSQL 10 - Appendix D. SQL Conformance">10</a> | |
| / | |
| <a href="/docs/9.6/features.html" rel="nofollow" title="PostgreSQL 9.6 - Appendix D. SQL Conformance">9.6</a> | |
| / | |
| <a href="/docs/9.5/features.html" rel="nofollow" title="PostgreSQL 9.5 - Appendix D. SQL Conformance">9.5</a> | |
| / | |
| <a href="/docs/9.4/features.html" rel="nofollow" title="PostgreSQL 9.4 - Appendix D. SQL Conformance">9.4</a> | |
| / | |
| <a href="/docs/9.3/features.html" rel="nofollow" title="PostgreSQL 9.3 - Appendix D. SQL Conformance">9.3</a> | |
| / | |
| <a href="/docs/9.2/features.html" rel="nofollow" title="PostgreSQL 9.2 - Appendix D. SQL Conformance">9.2</a> | |
| / | |
| <a href="/docs/9.1/features.html" rel="nofollow" title="PostgreSQL 9.1 - Appendix D. SQL Conformance">9.1</a> | |
| / | |
| <a href="/docs/9.0/features.html" rel="nofollow" title="PostgreSQL 9.0 - Appendix D. SQL Conformance">9.0</a> | |
| / | |
| <a href="/docs/8.4/features.html" rel="nofollow" title="PostgreSQL 8.4 - Appendix D. SQL Conformance">8.4</a> | |
| / | |
| <a href="/docs/8.3/features.html" rel="nofollow" title="PostgreSQL 8.3 - Appendix D. SQL Conformance">8.3</a> | |
| / | |
| <a href="/docs/8.2/features.html" rel="nofollow" title="PostgreSQL 8.2 - Appendix D. SQL Conformance">8.2</a> | |
| / | |
| <a href="/docs/8.1/features.html" rel="nofollow" title="PostgreSQL 8.1 - Appendix D. SQL Conformance">8.1</a> | |
| / | |
| <a href="/docs/8.0/features.html" rel="nofollow" title="PostgreSQL 8.0 - Appendix D. SQL Conformance">8.0</a> | |
| / | |
| <a href="/docs/7.4/features.html" rel="nofollow" title="PostgreSQL 7.4 - Appendix D. SQL Conformance">7.4</a> | |
| / | |
| <a href="/docs/7.3/features.html" rel="nofollow" title="PostgreSQL 7.3 - Appendix D. SQL Conformance">7.3</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="col-md-6 col-lg-5 offset-lg-1"> | |
| <form action="/search/" id="docSearchForm" method="get" role="search"> | |
| <input name="u" type="hidden" value="/docs/18/"/> | |
| <div class="input-group"> | |
| <input class="form-control" id="q" name="q" placeholder="Search the documentation for..." type="text"/> | |
| <span class="input-group-btn"> | |
| <button class="btn btn-default" type="submit"><i class="fas fa-search"></i></button> | |
| </span> | |
| </div><!-- /input-group --> | |
| </form> | |
| </div> | |
| </div> | |
| <div id="docContent"> | |
| <div class="navheader"> | |
| <table summary="Navigation header" width="100%"> | |
| <tbody><tr> | |
| <th align="center" colspan="5">Appendix D. SQL Conformance</th> | |
| </tr> | |
| <tr> | |
| <td align="left" width="10%"><a accesskey="p" href="/docs/current/sql-keywords-appendix.html" title="Appendix C. SQL Key Words">Prev</a> </td> | |
| <td align="left" width="10%"><a accesskey="u" href="/docs/current/appendixes.html" title="Part VIII. Appendixes">Up</a></td> | |
| <th align="center" width="60%">Part VIII. Appendixes</th> | |
| <td align="right" width="10%"><a accesskey="h" href="/docs/current/index.html" title="PostgreSQL 18.3 Documentation">Home</a></td> | |
| <td align="right" width="10%"> <a accesskey="n" href="/docs/current/features-sql-standard.html" title="D.1. Supported Features">Next</a></td> | |
| </tr> | |
| </tbody></table> | |
| <hr/> | |
| </div> | |
| <div class="appendix" id="FEATURES"> | |
| <div class="titlepage"> | |
| <div> | |
| <div> | |
| <h2 class="title">Appendix D. SQL Conformance</h2> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="toc"> | |
| <p><strong>Table of Contents</strong></p> | |
| <dl class="toc"> | |
| <dt><span class="sect1"><a href="/docs/current/features-sql-standard.html">D.1. Supported Features</a></span></dt> | |
| <dt><span class="sect1"><a href="/docs/current/unsupported-features-sql-standard.html">D.2. Unsupported Features</a></span></dt> | |
| <dt><span class="sect1"><a href="/docs/current/xml-limits-conformance.html">D.3. XML Limits and Conformance to SQL/XML</a></span></dt> | |
| <dd> | |
| <dl> | |
| <dt><span class="sect2"><a href="/docs/current/xml-limits-conformance.html#FUNCTIONS-XML-LIMITS-XPATH1">D.3.1. Queries Are Restricted to XPath 1.0</a></span></dt> | |
| <dt><span class="sect2"><a href="/docs/current/xml-limits-conformance.html#FUNCTIONS-XML-LIMITS-POSTGRESQL">D.3.2. Incidental Limits of the Implementation</a></span></dt> | |
| </dl> | |
| </dd> | |
| </dl> | |
| </div> | |
| <p>This section attempts to outline to what extent <span class="productname">PostgreSQL</span> conforms to the current SQL standard. The following information is not a full statement of conformance, but it presents the main topics in as much detail as is both reasonable and useful for users.</p> | |
| <p>The formal name of the SQL standard is ISO/IEC 9075 <span class="quote">“<span class="quote">Database Language SQL</span>”</span>. A revised version of the standard is released from time to time; the most recent update appearing in 2023. The 2023 version is referred to as ISO/IEC 9075:2023, or simply as SQL:2023. The versions prior to that were SQL:2016, SQL:2011, SQL:2008, SQL:2006, SQL:2003, SQL:1999, and SQL-92. Each version replaces the previous one, so claims of conformance to earlier versions have no official merit. <span class="productname">PostgreSQL</span> development aims for conformance with the latest official version of the standard where such conformance does not contradict traditional features or common sense. Many of the features required by the SQL standard are supported, though sometimes with slightly differing syntax or function. Further moves towards conformance can be expected over time.</p> | |
| <p><acronym class="acronym">SQL-92</acronym> defined three feature sets for conformance: Entry, Intermediate, and Full. Most database management systems claiming <acronym class="acronym">SQL</acronym> standard conformance were conforming at only the Entry level, since the entire set of features in the Intermediate and Full levels was either too voluminous or in conflict with legacy behaviors.</p> | |
| <p>Starting with <acronym class="acronym">SQL:1999</acronym>, the SQL standard defines a large set of individual features rather than the ineffectively broad three levels found in <acronym class="acronym">SQL-92</acronym>. A large subset of these features represents the <span class="quote">“<span class="quote">Core</span>”</span> features, which every conforming SQL implementation must supply. The rest of the features are purely optional.</p> | |
| <p>The standard is split into a number of parts, each also known by a shorthand name:</p> | |
| <div class="itemizedlist"> | |
| <ul class="itemizedlist" style="list-style-type: disc;"> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-1 Framework (SQL/Framework)</p><a class="indexterm" id="id-1.11.5.6.1.1.2" name="id-1.11.5.6.1.1.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-2 Foundation (SQL/Foundation)</p><a class="indexterm" id="id-1.11.5.6.1.2.2" name="id-1.11.5.6.1.2.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-3 Call Level Interface (SQL/CLI)</p><a class="indexterm" id="id-1.11.5.6.1.3.2" name="id-1.11.5.6.1.3.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-4 Persistent Stored Modules (SQL/PSM)</p><a class="indexterm" id="id-1.11.5.6.1.4.2" name="id-1.11.5.6.1.4.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-9 Management of External Data (SQL/MED)</p><a class="indexterm" id="id-1.11.5.6.1.5.2" name="id-1.11.5.6.1.5.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-10 Object Language Bindings (SQL/OLB)</p><a class="indexterm" id="id-1.11.5.6.1.6.2" name="id-1.11.5.6.1.6.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-11 Information and Definition Schemas (SQL/Schemata)</p><a class="indexterm" id="id-1.11.5.6.1.7.2" name="id-1.11.5.6.1.7.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-13 Routines and Types using the Java Language (SQL/JRT)</p><a class="indexterm" id="id-1.11.5.6.1.8.2" name="id-1.11.5.6.1.8.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-14 XML-related specifications (SQL/XML)</p><a class="indexterm" id="id-1.11.5.6.1.9.2" name="id-1.11.5.6.1.9.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-15 Multi-dimensional arrays (SQL/MDA)</p><a class="indexterm" id="id-1.11.5.6.1.10.2" name="id-1.11.5.6.1.10.2"></a> | |
| </li> | |
| <li class="listitem"> | |
| <p>ISO/IEC 9075-16 Property Graph Queries (SQL/PGQ)</p><a class="indexterm" id="id-1.11.5.6.1.11.2" name="id-1.11.5.6.1.11.2"></a> | |
| </li> | |
| </ul> | |
| </div> | |
| <p>Note that some part numbers are not (or no longer) used.</p> | |
| <p>The <span class="productname">PostgreSQL</span> core covers parts 1, 2, 9, 11, and 14. Part 3 is covered by the ODBC driver, and part 13 is covered by the PL/Java plug-in, but exact conformance is currently not being verified for these components. There are currently no implementations of parts 4, 10, 15, and 16 for <span class="productname">PostgreSQL</span>.</p> | |
| <p>PostgreSQL supports most of the major features of SQL:2023. Out of 177 mandatory features required for full Core conformance, PostgreSQL conforms to at least 170. In addition, there is a long list of supported optional features. It might be worth noting that at the time of writing, no current version of any database management system claims full conformance to Core SQL:2023.</p> | |
| <p>In the following two sections, we provide a list of those features that <span class="productname">PostgreSQL</span> supports, followed by a list of the features defined in <acronym class="acronym">SQL:2023</acronym> which are not yet supported in <span class="productname">PostgreSQL</span>. Both of these lists are approximate: There might be minor details that are nonconforming for a feature that is listed as supported, and large parts of an unsupported feature might in fact be implemented. The main body of the documentation always contains the most accurate information about what does and does not work.</p> | |
| <div class="note"> | |
| <h3 class="title">Note</h3> | |
| <p>Feature codes containing a hyphen are subfeatures. Therefore, if a particular subfeature is not supported, the main feature is listed as unsupported even if some other subfeatures are supported.</p> | |
| </div> | |
| </div> | |
| <div class="navfooter"> | |
| <hr/> | |
| <table summary="Navigation footer" width="100%"> | |
| <tbody><tr> | |
| <td align="left" width="40%"><a accesskey="p" href="/docs/current/sql-keywords-appendix.html" title="Appendix C. SQL Key Words">Prev</a> </td> | |
| <td align="center" width="20%"><a accesskey="u" href="/docs/current/appendixes.html" title="Part VIII. Appendixes">Up</a></td> | |
| <td align="right" width="40%"> <a accesskey="n" href="/docs/current/features-sql-standard.html" title="D.1. Supported Features">Next</a></td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top" width="40%">Appendix C. <acronym class="acronym">SQL</acronym> Key Words </td> | |
| <td align="center" width="20%"><a accesskey="h" href="/docs/current/index.html" title="PostgreSQL 18.3 Documentation">Home</a></td> | |
| <td align="right" valign="top" width="40%"> D.1. Supported Features</td> | |
| </tr> | |
| </tbody></table> | |
| </div> | |
| </div> | |
| <div id="docComments"> | |
| <h2>Submit correction</h2> | |
| <p> | |
| If you see anything in the documentation that is not correct, does not match | |
| your experience with the particular feature or requires further clarification, | |
| please use | |
| <a href="/account/comments/new/18/features.html/" rel="nofollow">this form</a> | |
| to report a documentation issue. | |
| </p> | |
| </div> | |
| </div> <!-- pgContentWrap --> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer id="footer"> | |
| <!-- Copyright --> | |
| <div class="container"> | |
| <a href="/about/policies/">Policies</a> | | |
| <a href="/about/policies/coc/">Code of Conduct</a> | | |
| <a href="/about/">About PostgreSQL</a> | | |
| <a href="/about/contact/">Contact</a><br/> | |
| <p>Copyright © 1996-2026 The PostgreSQL Global Development Group</p> | |
| </div> | |
| </footer> | |
| <script src="/media/js/main.js?54a05eb2"></script> | |
| </body></html> |