~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/features.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>SQL Conformance</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REV="MADE"
 
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
 
11
REL="HOME"
 
12
TITLE="PostgreSQL 9.1beta1 Documentation"
 
13
HREF="index.html"><LINK
 
14
REL="UP"
 
15
TITLE="Appendixes"
 
16
HREF="appendixes.html"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="SQL Key Words"
 
19
HREF="sql-keywords-appendix.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Supported Features"
 
22
HREF="features-sql-standard.html"><LINK
 
23
REL="STYLESHEET"
 
24
TYPE="text/css"
 
25
HREF="stylesheet.css"><META
 
26
HTTP-EQUIV="Content-Type"
 
27
CONTENT="text/html; charset=ISO-8859-1"><META
 
28
NAME="creation"
 
29
CONTENT="2011-04-27T21:20:33"></HEAD
 
30
><BODY
 
31
CLASS="APPENDIX"
 
32
><DIV
 
33
CLASS="NAVHEADER"
 
34
><TABLE
 
35
SUMMARY="Header navigation table"
 
36
WIDTH="100%"
 
37
BORDER="0"
 
38
CELLPADDING="0"
 
39
CELLSPACING="0"
 
40
><TR
 
41
><TH
 
42
COLSPAN="5"
 
43
ALIGN="center"
 
44
VALIGN="bottom"
 
45
><A
 
46
HREF="index.html"
 
47
>PostgreSQL 9.1beta1 Documentation</A
 
48
></TH
 
49
></TR
 
50
><TR
 
51
><TD
 
52
WIDTH="10%"
 
53
ALIGN="left"
 
54
VALIGN="top"
 
55
><A
 
56
TITLE="SQL Key Words"
 
57
HREF="sql-keywords-appendix.html"
 
58
ACCESSKEY="P"
 
59
>Prev</A
 
60
></TD
 
61
><TD
 
62
WIDTH="10%"
 
63
ALIGN="left"
 
64
VALIGN="top"
 
65
><A
 
66
TITLE="SQL Key Words"
 
67
HREF="sql-keywords-appendix.html"
 
68
>Fast Backward</A
 
69
></TD
 
70
><TD
 
71
WIDTH="60%"
 
72
ALIGN="center"
 
73
VALIGN="bottom"
 
74
></TD
 
75
><TD
 
76
WIDTH="10%"
 
77
ALIGN="right"
 
78
VALIGN="top"
 
79
><A
 
80
TITLE="Release Notes"
 
81
HREF="release.html"
 
82
>Fast Forward</A
 
83
></TD
 
84
><TD
 
85
WIDTH="10%"
 
86
ALIGN="right"
 
87
VALIGN="top"
 
88
><A
 
89
TITLE="Supported Features"
 
90
HREF="features-sql-standard.html"
 
91
ACCESSKEY="N"
 
92
>Next</A
 
93
></TD
 
94
></TR
 
95
></TABLE
 
96
><HR
 
97
ALIGN="LEFT"
 
98
WIDTH="100%"></DIV
 
99
><DIV
 
100
CLASS="APPENDIX"
 
101
><H1
 
102
><A
 
103
NAME="FEATURES"
 
104
></A
 
105
>Appendix D. SQL Conformance</H1
 
106
><DIV
 
107
CLASS="TOC"
 
108
><DL
 
109
><DT
 
110
><B
 
111
>Table of Contents</B
 
112
></DT
 
113
><DT
 
114
>D.1. <A
 
115
HREF="features-sql-standard.html"
 
116
>Supported Features</A
 
117
></DT
 
118
><DT
 
119
>D.2. <A
 
120
HREF="unsupported-features-sql-standard.html"
 
121
>Unsupported Features</A
 
122
></DT
 
123
></DL
 
124
></DIV
 
125
><P
 
126
>  This section attempts to outline to what extent
 
127
  <SPAN
 
128
CLASS="PRODUCTNAME"
 
129
>PostgreSQL</SPAN
 
130
> conforms to the current SQL
 
131
  standard.  The following information is not a full statement of
 
132
  conformance, but it presents the main topics in as much detail as is
 
133
  both reasonable and useful for users.
 
134
 </P
 
135
><P
 
136
>  The formal name of the SQL standard is ISO/IEC 9075 <SPAN
 
137
CLASS="QUOTE"
 
138
>"Database
 
139
  Language SQL"</SPAN
 
140
>.  A revised version of the standard is released
 
141
  from time to time; the most recent update appearing in 2008.
 
142
  The 2008 version is referred to as ISO/IEC 9075:2008, or simply as SQL:2008.
 
143
  The versions prior to that were SQL:2003, SQL:1999, and SQL-92.  Each version
 
144
  replaces the previous one, so claims of conformance to earlier
 
145
  versions have no official merit.
 
146
  <SPAN
 
147
CLASS="PRODUCTNAME"
 
148
>PostgreSQL</SPAN
 
149
> development aims for
 
150
  conformance with the latest official version of the standard where
 
151
  such conformance does not contradict traditional features or common
 
152
  sense.  The PostgreSQL project is not represented in the ISO/IEC
 
153
  9075 Working Group during the preparation of the SQL standard
 
154
  releases, but even so, many of the features required by the SQL
 
155
  standard are supported, though sometimes with slightly differing
 
156
  syntax or function.  Further moves towards conformance can be
 
157
  expected over time.
 
158
 </P
 
159
><P
 
160
>  <ACRONYM
 
161
CLASS="ACRONYM"
 
162
>SQL-92</ACRONYM
 
163
> defined three feature sets for
 
164
  conformance: Entry, Intermediate, and Full.  Most database
 
165
  management systems claiming <ACRONYM
 
166
CLASS="ACRONYM"
 
167
>SQL</ACRONYM
 
168
> standard
 
169
  conformance were conforming at only the Entry level, since the
 
170
  entire set of features in the Intermediate and Full levels was
 
171
  either too voluminous or in conflict with legacy behaviors.
 
172
 </P
 
173
><P
 
174
>  Starting with <ACRONYM
 
175
CLASS="ACRONYM"
 
176
>SQL:1999</ACRONYM
 
177
>, the SQL standard defines
 
178
  a large set of individual features rather than the ineffectively
 
179
  broad three levels found in <ACRONYM
 
180
CLASS="ACRONYM"
 
181
>SQL-92</ACRONYM
 
182
>.  A large
 
183
  subset of these features represents the <SPAN
 
184
CLASS="QUOTE"
 
185
>"Core"</SPAN
 
186
>
 
187
  features, which every conforming SQL implementation must supply.
 
188
  The rest of the features are purely optional.  Some optional
 
189
  features are grouped together to form <SPAN
 
190
CLASS="QUOTE"
 
191
>"packages"</SPAN
 
192
>, which
 
193
  SQL implementations can claim conformance to, thus claiming
 
194
  conformance to particular groups of features.
 
195
 </P
 
196
><P
 
197
>  The <ACRONYM
 
198
CLASS="ACRONYM"
 
199
>SQL:2008</ACRONYM
 
200
> and <ACRONYM
 
201
CLASS="ACRONYM"
 
202
>SQL:2003</ACRONYM
 
203
>
 
204
  standard versions are also split into a number
 
205
  of parts.  Each is known by a shorthand name.  Note that these parts
 
206
  are not consecutively numbered.
 
207
 
 
208
  <P
 
209
></P
 
210
></P><UL
 
211
><LI
 
212
><P
 
213
>ISO/IEC 9075-1 Framework (SQL/Framework)</P
 
214
></LI
 
215
><LI
 
216
><P
 
217
>ISO/IEC 9075-2 Foundation (SQL/Foundation)</P
 
218
></LI
 
219
><LI
 
220
><P
 
221
>ISO/IEC 9075-3 Call Level Interface (SQL/CLI)</P
 
222
></LI
 
223
><LI
 
224
><P
 
225
>ISO/IEC 9075-4 Persistent Stored Modules (SQL/PSM)</P
 
226
></LI
 
227
><LI
 
228
><P
 
229
>ISO/IEC 9075-9 Management of External Data (SQL/MED)</P
 
230
></LI
 
231
><LI
 
232
><P
 
233
>ISO/IEC 9075-10 Object Language Bindings (SQL/OLB)</P
 
234
></LI
 
235
><LI
 
236
><P
 
237
>ISO/IEC 9075-11 Information and Definition Schemas (SQL/Schemata)</P
 
238
></LI
 
239
><LI
 
240
><P
 
241
>ISO/IEC 9075-13 Routines and Types using the Java Language (SQL/JRT)</P
 
242
></LI
 
243
><LI
 
244
><P
 
245
>ISO/IEC 9075-14 XML-related specifications (SQL/XML)</P
 
246
></LI
 
247
></UL
 
248
><P>
 
249
 </P
 
250
><P
 
251
>  The <SPAN
 
252
CLASS="PRODUCTNAME"
 
253
>PostgreSQL</SPAN
 
254
> core covers parts 1, 2, 9,
 
255
  11, and 14.  Part 3 is covered by the ODBC driver, and part 13 is
 
256
  covered by the PL/Java plug-in, but exact conformance is currently
 
257
  not being verified for these components.  There are currently no
 
258
  implementations of parts 4 and 10
 
259
  for <SPAN
 
260
CLASS="PRODUCTNAME"
 
261
>PostgreSQL</SPAN
 
262
>.
 
263
 </P
 
264
><P
 
265
>  PostgreSQL supports most of the major features of SQL:2008.  Out of
 
266
  179 mandatory features required for full Core conformance,
 
267
  PostgreSQL conforms to at least 160.  In addition, there is a long
 
268
  list of supported optional features.  It might be worth noting that at
 
269
  the time of writing, no current version of any database management
 
270
  system claims full conformance to Core SQL:2008.
 
271
 </P
 
272
><P
 
273
>  In the following two sections, we provide a list of those features
 
274
  that <SPAN
 
275
CLASS="PRODUCTNAME"
 
276
>PostgreSQL</SPAN
 
277
> supports, followed by a
 
278
  list of the features defined in <ACRONYM
 
279
CLASS="ACRONYM"
 
280
>SQL:2008</ACRONYM
 
281
> which
 
282
  are not yet supported in <SPAN
 
283
CLASS="PRODUCTNAME"
 
284
>PostgreSQL</SPAN
 
285
>.
 
286
  Both of these lists are approximate: There might be minor details that
 
287
  are nonconforming for a feature that is listed as supported, and
 
288
  large parts of an unsupported feature might in fact be implemented.
 
289
  The main body of the documentation always contains the most accurate
 
290
  information about what does and does not work.
 
291
 </P
 
292
><DIV
 
293
CLASS="NOTE"
 
294
><BLOCKQUOTE
 
295
CLASS="NOTE"
 
296
><P
 
297
><B
 
298
>Note: </B
 
299
>   Feature codes containing a hyphen are subfeatures.  Therefore, if a
 
300
   particular subfeature is not supported, the main feature is listed
 
301
   as unsupported even if some other subfeatures are supported.
 
302
  </P
 
303
></BLOCKQUOTE
 
304
></DIV
 
305
></DIV
 
306
><DIV
 
307
CLASS="NAVFOOTER"
 
308
><HR
 
309
ALIGN="LEFT"
 
310
WIDTH="100%"><TABLE
 
311
SUMMARY="Footer navigation table"
 
312
WIDTH="100%"
 
313
BORDER="0"
 
314
CELLPADDING="0"
 
315
CELLSPACING="0"
 
316
><TR
 
317
><TD
 
318
WIDTH="33%"
 
319
ALIGN="left"
 
320
VALIGN="top"
 
321
><A
 
322
HREF="sql-keywords-appendix.html"
 
323
ACCESSKEY="P"
 
324
>Prev</A
 
325
></TD
 
326
><TD
 
327
WIDTH="34%"
 
328
ALIGN="center"
 
329
VALIGN="top"
 
330
><A
 
331
HREF="index.html"
 
332
ACCESSKEY="H"
 
333
>Home</A
 
334
></TD
 
335
><TD
 
336
WIDTH="33%"
 
337
ALIGN="right"
 
338
VALIGN="top"
 
339
><A
 
340
HREF="features-sql-standard.html"
 
341
ACCESSKEY="N"
 
342
>Next</A
 
343
></TD
 
344
></TR
 
345
><TR
 
346
><TD
 
347
WIDTH="33%"
 
348
ALIGN="left"
 
349
VALIGN="top"
 
350
><ACRONYM
 
351
CLASS="ACRONYM"
 
352
>SQL</ACRONYM
 
353
> Key Words</TD
 
354
><TD
 
355
WIDTH="34%"
 
356
ALIGN="center"
 
357
VALIGN="top"
 
358
><A
 
359
HREF="appendixes.html"
 
360
ACCESSKEY="U"
 
361
>Up</A
 
362
></TD
 
363
><TD
 
364
WIDTH="33%"
 
365
ALIGN="right"
 
366
VALIGN="top"
 
367
>Supported Features</TD
 
368
></TR
 
369
></TABLE
 
370
></DIV
 
371
></BODY
 
372
></HTML
 
373
>
 
 
b'\\ No newline at end of file'