Tom Lane
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
Tom Lane
b8d601e735
Fix some markup problems.
2003-06-21 19:33:36 +00:00
Tom Lane
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
Michael Meskes
94b59faeb7
Synced with backend.
2003-06-20 15:16:06 +00:00
Michael Meskes
2cbaaee6c3
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.
2003-06-20 13:36:34 +00:00
Michael Meskes
d9b2401d90
Just another ecpg todo done.
2003-06-20 13:20:09 +00:00
Michael Meskes
cf5ec3d12b
Sorry, missed a file.
2003-06-20 12:01:46 +00:00
Michael Meskes
abd310a3b1
Allow constants in using clauses.
2003-06-20 12:00:59 +00:00
Tom Lane
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
Tom Lane
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
Michael Meskes
8902aaaa6c
Fixed fetch into char * and added missing prototype for an Informix function.
2003-06-19 09:52:11 +00:00
Bruce Momjian
4d9eede82f
Move thread checking code farther down in conflgure.
2003-06-18 16:04:15 +00:00
Peter Eisentraut
f374a9dae9
Change clusterdb and vacuumdb into C programs.
2003-06-18 12:19:11 +00:00
Tom Lane
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
Peter Eisentraut
596652d6eb
More information schema views.
2003-06-17 18:00:48 +00:00
Peter Eisentraut
3d6fd2557c
Add missing file to clean target.
2003-06-17 17:58:54 +00:00
Michael Meskes
8a2aa79fee
Fixed several more parsing bugs.
2003-06-17 07:28:22 +00:00
Tom Lane
f12f8990e4
Fix error line numbers reported for errors in plpgsql_parse_word and
...
siblings.
2003-06-17 04:35:03 +00:00
Tom Lane
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
Michael Meskes
76924b5d94
Fixed two small bugs.
2003-06-16 16:58:11 +00:00
Tom Lane
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
Tom Lane
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
Tom Lane
3fb6f1347f
Replace cryptic 'Unknown kind of return type' messages with something
...
hopefully a little more useful.
2003-06-15 17:59:10 +00:00
Tom Lane
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
Tom Lane
da78e3e2eb
index() -> strchr().
2003-06-15 16:21:39 +00:00
Michael Meskes
a0f29e3afd
Typo in version number.
2003-06-15 12:06:50 +00:00
Michael Meskes
86a8331935
Some minor changes for new version numbering.
2003-06-15 11:10:09 +00:00
Michael Meskes
7ea9c94814
Updating ECPG todo items.
2003-06-15 10:34:10 +00:00
Bruce Momjian
a64927f995
Ecpg cleanups for prototypes.
2003-06-15 04:56:45 +00:00
Bruce Momjian
228c02c3e5
Run autoconf/autoheader for ecpg change.
2003-06-15 04:09:18 +00:00
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
Bruce Momjian
ffa3bfbc30
Move thread os defines into template files.
2003-06-14 19:21:42 +00:00
Bruce Momjian
467839df26
Handle threading in two more gethostbyname calls.
2003-06-14 18:20:33 +00:00
Bruce Momjian
a16a031411
Make libpq thread-safe with configure --with-threads option.
...
Lee Kindness
2003-06-14 17:49:54 +00:00
Bruce Momjian
62b532b736
Add thread.c for libpq threading, and hook it into libpq/configure.
2003-06-14 14:35:42 +00:00
Bruce Momjian
02d847fe9f
Add --with-threads configure option to control threaded libpq.
2003-06-13 23:10:08 +00:00
Michael Meskes
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
Tom Lane
a2d08b99c2
Okay, recognize freebsd 2.* and 3.* too.
2003-06-13 02:21:03 +00:00
Tom Lane
bee114c38b
Expect FreeBSD 5.* to have standard float arithmetic.
2003-06-13 01:50:50 +00:00
Tom Lane
716200179f
Fix broken markup.
2003-06-12 18:34:06 +00:00
Bruce Momjian
41a10a13b1
Add thread-enable compile variables into libpq.
2003-06-12 17:31:50 +00:00
Tom Lane
cc2fc4a71b
Fix SQL function executor for case where last command of a function is
...
not a SELECT. We didn't use to allow that, but we do now.
2003-06-12 17:29:26 +00:00
Tom Lane
ccd99a5eb5
<sys/socket.h> requires <sys/types.h> to already have been included
...
on some platforms.
2003-06-12 16:05:10 +00:00
Bruce Momjian
889dd3c00d
Mention need for swap on Linux, and kill -9.
2003-06-12 15:58:19 +00:00
Bruce Momjian
8d2d92c5f0
Document default Linux autocommit behavior, and show workaround.
2003-06-12 15:31:02 +00:00
Michael Meskes
b4117d8b1b
Install all header files.
2003-06-12 12:52:24 +00:00
Bruce Momjian
b14295cfe4
Attached is the complete diff against current CVS.
...
Compiles on BCC 5.5 and VC++ 6.0 (with warnings).
Karl Waclawek
2003-06-12 08:15:29 +00:00
Bruce Momjian
dc4ee8a833
Back out patch that got bundled into another patch.
2003-06-12 08:11:07 +00:00
Bruce Momjian
a647e30ba3
New patch with corrected README attached.
...
Also quickly added mention that it may be a qualified schema name.
Rod Taylor
2003-06-12 08:02:57 +00:00
Bruce Momjian
ef2ba42717
Attached is a patch that enhances the output of psql's HTML mode.
...
The output now validates as HTML 4.01 Strict, XHTML 1.0 strict,
and XHTML 1.1 (assuming you wrap it in a valid html/body document).
It also wraps the output of PGRES_COMMAND_OK if the HTML tag is on,
for full compliance: this is why html_escaped_print has to be
externalized.
Greg Sabino Mullane greg@turnstep.com
2003-06-12 07:52:51 +00:00