summaryrefslogtreecommitdiff
path: root/contrib/array/array_iterator.h
AgeCommit message (Collapse)Author
2003-09-11Here is a patch that removes contrib/array, leaving only the README withBruce Momjian
some examples of the new syntax and a reference to the documentation. Joe Conway.
2003-05-26Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailingTom Lane
blanks, in hopes of reducing the surprise factor for newbies. Remove redundant operators for VARCHAR (it depends wholly on TEXT operations now). Clean up resolution of ambiguous operators/functions to avoid surprising choices for domains: domains are treated as equivalent to their base types and binary-coercibility is no longer considered a preference item when choosing among multiple operators/functions. IsBinaryCoercible now correctly reflects the notion that you need *only* relabel the type to get from type A to type B: that is, a domain is binary-coercible to its base type, but not vice versa. Various marginal cleanup, including merging the essentially duplicate resolution code in parse_func.c and parse_oper.c. Improve opr_sanity regression test to understand about binary compatibility (using pg_cast), and fix a couple of small errors in the catalogs revealed thereby. Restructure "special operator" handling to fetch operators via index opclasses rather than hardwiring assumptions about names (cleans up the pattern_ops stuff a little).
2002-08-26Modify array operations to include array's element type OID in theTom Lane
array header, and to compute sizing and alignment of array elements the same way normal tuple access operations do --- viz, using the tupmacs.h macros att_addlength and att_align. This makes the world safe for arrays of cstrings or intervals, and should make it much easier to write array-type-polymorphic functions; as examples see the cleanups of array_out and contrib/array_iterator. By Joe Conway and Tom Lane.
2002-08-04This patch adds support for inet[] arrays to the /contrib/array module.Bruce Momjian
Neil Conway
2001-10-25pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian
tests pass.
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
1999-06-05Hi,Bruce Momjian
I have updated my contrib code for version 6.5. In the attachment you will find the directories array, datetime, miscutil, string, tools and userlocks which replace the corresponding directories under contrib. In contrib/tools you will find some developement scripts which I use while hacking the sources. I hope they will be useful for some other people. I have also added a contrib/Makefile which tries to compile and install all the contribs. Unfortunately many of them don't have a Makefile or don't compile cleanly. -- Massimo Dal Zotto
1999-05-25pgindent run over code.Bruce Momjian
1999-01-21i have made minor changes to array_iterator to make it work withBruce Momjian
pgsql-6.3.2. I think array_iterator is a great thing to have!!! With best regards, Tobias Gabele
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1997-11-05Update of contrib stuff from massimo.Bruce Momjian