a171edf8fc
Adjust chapter ordering in Internals part to something that seems more
...
reasonable.
2003-06-22 16:16:44 +00:00
36fe7577f8
Added missing terminating '\0' char for data put into char *.
2003-06-22 11:00:48 +00:00
14847af48d
Remove a lot of desperately obsolete material (which was all out of sight,
...
out of mind, because it'd been commented out years ago). Try to bring the
remains up to a reasonable level of currency, and give it all approximately
the same high level of abstraction.
2003-06-22 05:48:26 +00:00
82de7b0a44
Add question mark to item:
...
< from making invalid dates valid
> from making invalid dates valid?
2003-06-22 05:04:52 +00:00
4a49d69c90
Add:
...
> * Allow current datestyle to restrict dates; prevent month/day swapping
> from making invalid dates valid
> * Prevent month/day swapping of ISO dates to make invalid dates valid
2003-06-22 05:01:17 +00:00
c1ae39a0cd
Add pgtest script.
2003-06-22 04:22:57 +00:00
dd81eee222
Use libpq's new logic to get the server version, instead of doing it ourselves.
2003-06-22 00:56:58 +00:00
e92dc1e199
Bring the libpq example programs into the 21st century.
2003-06-22 00:29:29 +00:00
21e0b7b8f2
Get rid of extraneous newline in PQendcopy error output (was causing
...
regression test diffs...).
2003-06-21 23:25:38 +00:00
efc3a25bb0
Update libpq to make new features of FE/BE protocol available to
...
client applications. Some editorial work on libpq.sgml, too.
2003-06-21 21:51:35 +00:00
b8d601e735
Fix some markup problems.
2003-06-21 19:33:36 +00:00
4342e6ea18
Fix for extended-query protocol: in event of error, backend was issuing
...
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-20 21:58:02 +00:00
94b59faeb7
Synced with backend.
2003-06-20 15:16:06 +00:00
2cbaaee6c3
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.
2003-06-20 13:36:34 +00:00
d9b2401d90
Just another ecpg todo done.
2003-06-20 13:20:09 +00:00
cf5ec3d12b
Sorry, missed a file.
2003-06-20 12:01:46 +00:00
abd310a3b1
Allow constants in using clauses.
2003-06-20 12:00:59 +00:00
5fc9f3d574
We neglected to set conn->raddr.salen, leading to breakage of CANCEL
...
and probably other stuff.
2003-06-20 04:09:12 +00:00
1bd22f55cf
Disallow dollar sign in operator names, instead allow it as a non-first
...
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-19 23:22:40 +00:00
8902aaaa6c
Fixed fetch into char * and added missing prototype for an Informix function.
2003-06-19 09:52:11 +00:00
4d9eede82f
Move thread checking code farther down in conflgure.
2003-06-18 16:04:15 +00:00
f374a9dae9
Change clusterdb and vacuumdb into C programs.
2003-06-18 12:19:11 +00:00
eab5d643b2
Make FLOAT(p) measure the precision p in bits, not decimal digits, to
...
match the SQL standard. Document FLOAT and FLOAT(p) notations in
datatype.sgml. Per recent pghackers discussion.
2003-06-17 23:12:36 +00:00
596652d6eb
More information schema views.
2003-06-17 18:00:48 +00:00
3d6fd2557c
Add missing file to clean target.
2003-06-17 17:58:54 +00:00
8a2aa79fee
Fixed several more parsing bugs.
2003-06-17 07:28:22 +00:00
f12f8990e4
Fix error line numbers reported for errors in plpgsql_parse_word and
...
siblings.
2003-06-17 04:35:03 +00:00
3467b1a1f9
Fix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not
...
work at all, and neither case behaved sanely for negative intervals.
2003-06-16 18:56:45 +00:00
76924b5d94
Fixed two small bugs.
2003-06-16 16:58:11 +00:00
a499725469
Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals,
...
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-16 02:03:38 +00:00
cb02610e50
Adjust nestloop-with-inner-indexscan plan generation so that we catch
...
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-15 22:51:45 +00:00
3fb6f1347f
Replace cryptic 'Unknown kind of return type' messages with something
...
hopefully a little more useful.
2003-06-15 17:59:10 +00:00
996fdb9af1
Cause GROUP BY clause to adopt ordering operators from ORDER BY when
...
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-15 16:42:08 +00:00
da78e3e2eb
index() -> strchr().
2003-06-15 16:21:39 +00:00
a0f29e3afd
Typo in version number.
2003-06-15 12:06:50 +00:00
86a8331935
Some minor changes for new version numbering.
2003-06-15 11:10:09 +00:00
7ea9c94814
Updating ECPG todo items.
2003-06-15 10:34:10 +00:00
a64927f995
Ecpg cleanups for prototypes.
2003-06-15 04:56:45 +00:00
228c02c3e5
Run autoconf/autoheader for ecpg change.
2003-06-15 04:09:18 +00:00
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
ffa3bfbc30
Move thread os defines into template files.
2003-06-14 19:21:42 +00:00
467839df26
Handle threading in two more gethostbyname calls.
2003-06-14 18:20:33 +00:00
a16a031411
Make libpq thread-safe with configure --with-threads option.
...
Lee Kindness
2003-06-14 17:49:54 +00:00
62b532b736
Add thread.c for libpq threading, and hook it into libpq/configure.
2003-06-14 14:35:42 +00:00
02d847fe9f
Add --with-threads configure option to control threaded libpq.
2003-06-13 23:10:08 +00:00
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
a2d08b99c2
Okay, recognize freebsd 2.* and 3.* too.
2003-06-13 02:21:03 +00:00
bee114c38b
Expect FreeBSD 5.* to have standard float arithmetic.
2003-06-13 01:50:50 +00:00
716200179f
Fix broken markup.
2003-06-12 18:34:06 +00:00
41a10a13b1
Add thread-enable compile variables into libpq.
2003-06-12 17:31:50 +00:00