diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-13 16:25:20 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-13 16:25:20 +0000 |
| commit | e3b0117459fd24b15cb5e88f563b5d87f051cfdc (patch) | |
| tree | acca06e323ff71b1cd964fab08a2cf5fe9ca37ac /src/include/catalog/pg_amproc.h | |
| parent | d6dfa1e6c63e01def34dc3fcc5978b0a60ea6ca8 (diff) | |
| download | postgresql-e3b0117459fd24b15cb5e88f563b5d87f051cfdc.tar.gz | |
Implement comparison of generic records (composite types), and invent a
pseudo-type record[] to represent arrays of possibly-anonymous composite
types. Since composite datums carry their own type identification, no
extra knowledge is needed at the array level.
The main reason for doing this right now is that it is necessary to support
the general case of detection of cycles in recursive queries: if you need to
compare more than one column to detect a cycle, you need to compare a ROW()
to an array built from ROW()s, at least if you want to do it as the spec
suggests. Add some documentation and regression tests concerning the cycle
detection issue.
Diffstat (limited to 'src/include/catalog/pg_amproc.h')
| -rw-r--r-- | src/include/catalog/pg_amproc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/pg_amproc.h b/src/include/catalog/pg_amproc.h index 5ca46600e3..c0f91a64b6 100644 --- a/src/include/catalog/pg_amproc.h +++ b/src/include/catalog/pg_amproc.h @@ -22,7 +22,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_amproc.h,v 1.73 2008/05/27 00:13:09 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_amproc.h,v 1.74 2008/10/13 16:25:19 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -111,6 +111,7 @@ DATA(insert ( 1986 19 19 1 359 )); DATA(insert ( 1988 1700 1700 1 1769 )); DATA(insert ( 1989 26 26 1 356 )); DATA(insert ( 1991 30 30 1 404 )); +DATA(insert ( 2994 2249 2249 1 2987 )); DATA(insert ( 1994 25 25 1 360 )); DATA(insert ( 1996 1083 1083 1 1107 )); DATA(insert ( 2000 1266 1266 1 1358 )); |
