summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-06-24Add x86_64 support for spinlocks.Bruce Momjian
Jeffrey W. Baker
2003-06-24Small patch to link to the proper place in the "runtime" file,Bruce Momjian
and to add the "schemaname" column to the description of the pg_stats view. Greg Sabino Mullane
2003-06-24Array mega-patch.Bruce Momjian
Joe Conway
2003-06-24Prevent compiler warning from sprintf in recent ipv6 patch.Bruce Momjian
2003-06-24 Add ipv6 address parsing support to 'inet' and 'cidr' data types.Bruce Momjian
Regression tests for IPv6 operations added. Documentation updated to document IPv6 bits. Stop treating IPv4 as an "unsigned int" and IPv6 as an array of characters. Instead, always use the array of characters so we can have one function fits all. This makes bitncmp(), addressOK(), and several other functions "just work" on both address families. add family() function which returns integer 4 or 6 for IPv4 or IPv6. (See examples below) Note that to add this new function you will need to dump/initdb/reload or find the correct magic to add the function to the postgresql function catalogs. IPv4 addresses always sort before IPv6. On disk we use AF_INET for IPv4, and AF_INET+1 for IPv6 addresses. This prevents the need for a dump and reload, but lets IPv6 parsing work on machines without AF_INET6. To select all IPv4 addresses from a table: select * from foo where family(addr) = 4 ... Order by and other bits should all work. Michael Graff
2003-06-24Add -L../ecpglib -lecpg for Cygwin compile.Bruce Momjian
2003-06-24typedef sa_family_t for cygwin.Bruce Momjian
2003-06-24Do not include:Bruce Momjian
#include <pwd.h> #include <netdb.h> in MS CC/Borland builds.
2003-06-23Remove references to sa_family_t, except when SOCKADDR_STORAGE requiresBruce Momjian
it. Also handle __ss_family as a synonym for ss_family. Kurt Roeckx
2003-06-23Add mention that the grep's have to be adjusted in pgtest.Bruce Momjian
2003-06-23Change pqInternalNotice to accept a format string and args instead ofTom Lane
just a preformatted message; per suggestion by Sean Chittenden.
2003-06-23Remove crypt.h from fe-connect.c --- not needed, and caused problems onBruce Momjian
Solaris with Open SSL version 0.9.7b
2003-06-22Revise hash join and hash aggregation code to use the same datatype-Tom Lane
specific hash functions used by hash indexes, rather than the old not-datatype-aware ComputeHashFunc routine. This makes it safe to do hash joining on several datatypes that previously couldn't use hashing. The sets of datatypes that are hash indexable and hash joinable are now exactly the same, whereas before each had some that weren't in the other.
2003-06-22Added missing terminating '\0' char for data put into char *.Michael Meskes
2003-06-22Add pgtest script.Bruce Momjian
2003-06-22Use libpq's new logic to get the server version, instead of doing it ourselves.Tom Lane
2003-06-22Bring the libpq example programs into the 21st century.Tom Lane
2003-06-21Get rid of extraneous newline in PQendcopy error output (was causingTom Lane
regression test diffs...).
2003-06-21Update libpq to make new features of FE/BE protocol available toTom Lane
client applications. Some editorial work on libpq.sgml, too.
2003-06-20Fix for extended-query protocol: in event of error, backend was issuingTom Lane
a ReadyForQuery (Z message) immediately and then another one after the Sync message arrives. Suppress the first one to make it work per spec.
2003-06-20Synced with backend.Michael Meskes
2003-06-20Just another Informix compatibility change. They uses "free" for cursors as ↵Michael Meskes
wellafter closing them.
2003-06-20Sorry, missed a file.Michael Meskes
2003-06-20Allow constants in using clauses.Michael Meskes
2003-06-20We neglected to set conn->raddr.salen, leading to breakage of CANCELTom Lane
and probably other stuff.
2003-06-19Disallow dollar sign in operator names, instead allow it as a non-firstTom Lane
character in identifiers. The first change eliminates the current need to put spaces around parameter references, as in "x<=$2". The second change improves compatibility with Oracle and some other RDBMSes. This was discussed and agreed to back in January, but did not get done.
2003-06-19Fixed fetch into char * and added missing prototype for an Informix function.Michael Meskes
2003-06-18Change clusterdb and vacuumdb into C programs.Peter Eisentraut
2003-06-17Make FLOAT(p) measure the precision p in bits, not decimal digits, toTom Lane
match the SQL standard. Document FLOAT and FLOAT(p) notations in datatype.sgml. Per recent pghackers discussion.
2003-06-17More information schema views.Peter Eisentraut
2003-06-17Add missing file to clean target.Peter Eisentraut
2003-06-17Fixed several more parsing bugs.Michael Meskes
2003-06-17Fix error line numbers reported for errors in plpgsql_parse_word andTom Lane
siblings.
2003-06-16Fix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did notTom Lane
work at all, and neither case behaved sanely for negative intervals.
2003-06-16Fixed two small bugs.Michael Meskes
2003-06-16Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals,Tom Lane
silently resolving them to type TEXT. This is comparable to what we do when faced with UNKNOWN in CASE, UNION, and other contexts. It gets rid of this and related annoyances: select distinct f1, '' from int4_tbl; ERROR: Unable to identify an ordering operator '<' for type unknown This was discussed many moons ago, but no one got round to fixing it.
2003-06-15Adjust nestloop-with-inner-indexscan plan generation so that we catchTom Lane
some cases of redundant clauses that were formerly not caught. We have to special-case this because the clauses involved never get attached to the same join restrictlist and so the existing logic does not notice that they are redundant.
2003-06-15Replace cryptic 'Unknown kind of return type' messages with somethingTom Lane
hopefully a little more useful.
2003-06-15Cause GROUP BY clause to adopt ordering operators from ORDER BY whenTom Lane
both clauses specify the same targets, rather than always using the default ordering operator. This allows 'GROUP BY foo ORDER BY foo DESC' to be done with only one sort step.
2003-06-15index() -> strchr().Tom Lane
2003-06-15Typo in version number.Michael Meskes
2003-06-15Some minor changes for new version numbering.Michael Meskes
2003-06-15Ecpg cleanups for prototypes.Bruce Momjian
2003-06-15Run autoconf/autoheader for ecpg change.Bruce Momjian
2003-06-15Make ecpg thread safe.Bruce Momjian
Lee Kindness
2003-06-14Move thread os defines into template files.Bruce Momjian
2003-06-14Handle threading in two more gethostbyname calls.Bruce Momjian
2003-06-14Make libpq thread-safe with configure --with-threads option.Bruce Momjian
Lee Kindness
2003-06-14Add thread.c for libpq threading, and hook it into libpq/configure.Bruce Momjian
2003-06-13Add --with-threads configure option to control threaded libpq.Bruce Momjian