Peter Eisentraut
49cbef7947
Update of conformance information to SQL:2003
...
by Troels Arvin, Simon Riggs, Elein Mustain
Make spelling of SQL standard names uniform.
2004-11-27 21:27:08 +00:00
Tom Lane
1a76550b3b
Fix information schema views to return NULL for precision and scale of
...
an unconstrained numeric column. Also, factor out some duplicate code
into functions, to ease future maintenance.
2004-06-22 22:30:32 +00:00
Joe Conway
12661642c8
Add function (actually an int4 and an int8 version) that generates
...
a series of numbers, optionally using an explicit step size other
than the default value (one). Use function in the information_schema
to replace hard-wired knowledge of INDEX_MAX_KEYS. initdb forced due
to pg_proc change. Documentation update still needed -- will be
committed separately.
2004-02-03 08:29:57 +00:00
Tom Lane
9d8888079d
Support named parameters in information_schema.parameters,
...
per Dennis Bjorklund. I did not force initdb for this, but
you'd need to do one to get the improved view.
2004-01-24 23:45:13 +00:00
Tom Lane
422249120d
information_schema.constraint_column_usage and key_column_usage should
...
not discriminate against system columns, since we support constraints on
system columns, and in fact constraints on OID are moderately useful.
2003-12-17 22:11:30 +00:00
Peter Eisentraut
0fb3ec1a58
Fix constraint_column_usage for foreign keys.
2003-12-16 14:57:20 +00:00
Tom Lane
80af69ceaa
Remove test on c.relkind from check_constraints view; unnecessary and
...
prevents view from showing constraints on domains. This addresses the
other half of Claus Colloseus' bug report.
2003-12-07 19:43:02 +00:00
Peter Eisentraut
d9d72bcb91
Fix typmod interpretation for bit types. (It was erroneously assumed that
...
for bit(x), the typmod stores x+4, like for the character types.)
2003-12-07 10:21:58 +00:00
PostgreSQL Daemon
55b113257c
make sure the $Id tags are converted to $PostgreSQL as well ...
2003-11-29 22:41:33 +00:00
Tom Lane
97edeec6d2
Correct misspellings of REFERENCES.
2003-11-08 20:43:52 +00:00
Tom Lane
e341cdb085
Further work on information_schema. _pg_keyissubset() wasn't quite
...
fully search-path-proof yet; also, element_types view did not work for
parameters and result types of functions, because it didn't generate
the object_name for the function the same way the data_type_privileges
view does. While at it, centralize dependencies on INDEX_MAX_KEYS/
FUNC_MAX_ARGS into a function returning setof int, so that it will be
easier to fix information_schema for nonstandard values of these
parameters.
2003-10-18 19:06:10 +00:00
Peter Eisentraut
9ea6d0fc80
Information schema fixes:
...
Use pg_get_constraintdef instead of pg_constraint.consrc
Use UNION ALL instread of UNION
Make use of regclass type for getting OID of system catalogs
Add schema qualifications where necessary
Fix typos
2003-10-18 12:53:35 +00:00
Peter Eisentraut
44430dbc15
Fix bugs in referential_constraints view.
2003-10-16 23:46:17 +00:00
Peter Eisentraut
4355d4fb21
Information schema views for group privileges, some corrections on column
...
privileges.
2003-06-29 15:14:41 +00:00
Peter Eisentraut
ae20518c7e
It was comparing the wrong pair of columns, which triggered the previously
...
mentioned bug.
2003-06-29 10:18:26 +00:00
Peter Eisentraut
2f80f81e5e
Make information schema aware of arrays.
...
The view element_types is currently not functional, awaiting some fixes in
the planner (reported on -hackers).
2003-06-28 20:50:08 +00:00
Peter Eisentraut
596652d6eb
More information schema views.
2003-06-17 18:00:48 +00:00
Peter Eisentraut
8a2922dcb2
Represent grant options in the information schema.
2003-06-11 09:23:55 +00:00
Peter Eisentraut
7ea8e491c8
Information schema views about functions
2003-06-05 16:08:47 +00:00
Peter Eisentraut
297c1658ed
Information schema improvements
2003-05-25 09:36:09 +00:00
Peter Eisentraut
f89c972ac8
Add documentation for information schema, and some corrections on some
...
views.
2003-05-18 20:55:57 +00:00
Bruce Momjian
a00431b8d8
"Information_schema" changes
...
- Add domain check constraints to "check_constraints" view
- Create "domains" view
- Create "domain_constraints" view
--
Rod Taylor <rbt@rbt.ca>
2003-03-20 05:06:55 +00:00
Peter Eisentraut
828822bc96
Add remaining documentation tables to information schema.
2003-01-15 23:37:28 +00:00
Peter Eisentraut
2160c9177d
Add sql_features table to information schema. Generate the features list
...
in the documentation from that same data.
2003-01-14 23:19:34 +00:00
Peter Eisentraut
1b42ad7e59
Initial version of the SQL information schema
2002-12-14 00:24:35 +00:00