Tom Lane
5ed27e35f3
Another round of protocol changes. Backend-to-frontend messages now all
...
have length words. COPY OUT reimplemented per new protocol: it doesn't
need \. anymore, thank goodness. COPY BINARY to/from frontend works,
at least as far as the backend is concerned --- libpq's PQgetline API
is not up to snuff, and will have to be replaced with something that is
null-safe. libpq uses message length words for performance improvement
(no cycles wasted rescanning long messages), but not yet for error
recovery.
2003-04-22 00:08:07 +00:00
Tom Lane
ca944bd2d4
Prevent palloc(0) error when parent table has zero columns.
2003-04-21 15:19:55 +00:00
Bruce Momjian
185ad7a839
Add mention of Novell Netware 6 port.
2003-04-21 14:54:15 +00:00
Tom Lane
1dc3a62ec7
stddev() and variance() should return NULL when there is just one input
...
value, per recent discussion on pgsql-general.
2003-04-21 00:22:24 +00:00
Tom Lane
f9ba0a7fe5
Apple's assembler likes the inlined TAS syntax too, so no reason to
...
maintain a separate out-of-line version of PPC tas() anymore.
Also fix S_UNLOCK for __powerpc64__ platforms.
2003-04-20 21:54:34 +00:00
Tom Lane
b5d0051ecf
Fix multiple causes of breakage in plperl's error handling.
2003-04-20 21:15:34 +00:00
Tom Lane
b40bc9eac6
Avoid O(N^2) behavior with lots of deferred triggers by making
...
deferredTriggerInvokeEvents only scan events added since it last ran.
Stephan Szabo, some corrections by Tom Lane.
2003-04-20 17:03:25 +00:00
Bruce Momjian
7773434999
Make it clear it is the server version that determines if crlf is used. Idea from Joe Conway.
2003-04-20 01:52:55 +00:00
Bruce Momjian
c3b7d2d522
Allow \r and \r\n termination for COPY files.
...
Output \r\n termination on Win32.
Disallow literal carriage return as a data value,
backslash-carriage-return and \r still allowed.
Doc changes already committed.
2003-04-19 20:36:03 +00:00
Bruce Momjian
9c48cae3e4
Add pipe parameter to COPY function to allow proper line termination.
2003-04-19 19:55:37 +00:00
Tom Lane
3df163ad89
Add more documentation about shared memory costs.
2003-04-19 00:37:28 +00:00
Tom Lane
bd8d441775
Second round of FE/BE protocol changes. Frontend->backend messages now
...
have length counts, and COPY IN data is packetized into messages.
2003-04-19 00:02:30 +00:00
Tom Lane
54b38d293e
Fix breakage from recent variable-handling changes.
2003-04-18 23:38:47 +00:00
Bruce Momjian
4d4953fc41
Make Win32 tests to match existing Cygwin tests, where appropriate.
2003-04-18 01:03:42 +00:00
Tom Lane
cb7fb3ca95
First phase of FE/BE protocol modifications: new StartupPacket layout
...
with variable-width fields. No more truncation of long user names.
Also, libpq can now send its environment-variable-driven SET commands
as part of the startup packet, saving round trips to server.
2003-04-17 22:26:02 +00:00
Bruce Momjian
76fd678c06
Make pg_dump's concurency capability more prominent.
2003-04-17 15:34:37 +00:00
Tom Lane
31845dd363
Fix abstime-to-time cast function, which has had broken implementation
...
since 7.2, per bug #947 . Turns out it had wrong volatility label, too.
Can't force initdb in 7.3 branch, but fix anyway for future installs.
2003-04-17 04:50:20 +00:00
Barry Lind
0b88b63709
Applied patches from Kris Jurka fixing a string tokenizing problem and
...
fixing an order by problem for index metadata results.
Also includes removing some unused code as well as a fix to the toString
method on statement.
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-04-17 04:37:07 +00:00
Tom Lane
26b237ffad
Various clarifications; add a clear DRAFT marker; minor adjustments in
...
some message types. In particular add text/binary flag to StartCopyIn
and StartCopyOut, so that client library can know what is expected or
forthcoming.
2003-04-16 20:53:38 +00:00
Bruce Momjian
e8ee547829
Add mention of OpenProjects IRC channel. It is as large as EFNet now.
2003-04-16 18:56:24 +00:00
Tom Lane
1719fd55d3
Fix some problems exposed by building outside the source tree.
2003-04-16 05:23:55 +00:00
Tom Lane
1426db5d95
Fix stupid oversight ...
2003-04-16 04:37:58 +00:00
Tom Lane
fe19e56c57
First draft of revised FE/BE protocol specification. Still needs work,
...
but I'm putting it up so people can see and comment on it.
2003-04-15 22:51:18 +00:00
Bruce Momjian
dde302dd4b
Update Japanese FAQ, from Jun Kuwamura.
2003-04-15 21:00:27 +00:00
Peter Eisentraut
35e60ea967
Change names of ISO-8859-x encodings to ISO_8859_x, to match reality.
2003-04-15 13:26:54 +00:00
Peter Eisentraut
7c084d148f
Bring SQL ref pages to consistent format, part 1.
2003-04-15 13:25:08 +00:00
Peter Eisentraut
72aa9488d3
Add better markup and improve some text here and there.
2003-04-15 13:23:35 +00:00
Tom Lane
5ab15591d9
eqjoinsel's logic for case where MCV lists are not present should
...
account for NULLs; in hindsight this is obvious since the code for
the MCV-lists case would reduce to this when there are zero entries
in both lists. Per example from Alec Mitchell.
2003-04-15 05:18:12 +00:00
Tom Lane
49c3cf5fd1
path.c needs to be included in libpq; per Joe Conway.
2003-04-14 21:15:13 +00:00
Tom Lane
3f4f235f79
Another try at correctly explaining the difference between Postgres and
...
SQL92 temp tables. Possibly I got it right this time.
2003-04-14 18:08:58 +00:00
Tom Lane
0851e12244
Reorganize clog's error reporting so that PANIC on clog I/O error can
...
be reduced to a plain ERROR. Should make it at least a little less
painful to deal with data-corruption problems.
2003-04-14 17:31:33 +00:00
Bruce Momjian
6bfa2df64e
Document file name as optional for \o in psql help (\h).
2003-04-14 16:23:36 +00:00
Tom Lane
4af1769ae9
Minor copy-editing.
2003-04-14 15:40:02 +00:00
Tom Lane
6d99dbb0c9
Clarify description of our deviation from standard for temp tables,
...
per suggestion from Mike Sykes.
2003-04-14 15:24:46 +00:00
Dave Cramer
810e0b982b
exposed the addDataType method to the PGConnection, allows users to add datatypes
2003-04-14 10:39:51 +00:00
Peter Eisentraut
6ff82c6742
Integrate the operator class section into the comprehensive extending SQL
...
chapter as well.
2003-04-13 09:57:35 +00:00
Peter Eisentraut
4e5602e9b8
A couple of minor fixes
2003-04-13 09:56:00 +00:00
Barry Lind
51acf97235
Applied patch submitted by Nic Ferrier with some cleanups of his previous
...
patch to add cursor based queries.
Modified Files:
jdbc/org/postgresql/core/BaseConnection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-04-13 04:10:07 +00:00
Tom Lane
3fd5faed5b
Second try at avoiding conflicts with system isblank().
2003-04-13 04:07:17 +00:00
Tom Lane
ff5456feae
Add code to provide useful dynamic-linking error messages on OS X.
2003-04-13 01:19:06 +00:00
Tom Lane
e138630251
On some systems <sys/types.h> must be included before <sys/socket.h>.
2003-04-12 23:25:42 +00:00
Tom Lane
ae02cf3c44
Guard against macro versions of isblank().
2003-04-12 22:28:33 +00:00
Tatsuo Ishii
35a0995992
Fix encoding conversion function bug.
...
See following posting for more details.
Subject: Re: [HACKERS] [BUGS] Bug #943 : Server-Encoding from EUC_TW to UTF-8 doesn't
From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: michael.enke@wincor-nixdorf.com , pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Date: Sat, 12 Apr 2003 10:51:45 +0900 (JST)
2003-04-12 07:53:57 +00:00
Peter Eisentraut
d8521b9b91
Revision
2003-04-11 18:41:20 +00:00
Peter Eisentraut
dcb0049523
Revision
2003-04-11 13:22:35 +00:00
Tom Lane
5674460bb0
Fix error recovery for SSL_read/SSL_write calls.
2003-04-10 23:03:08 +00:00
Michael Meskes
76b45c9842
Informix fixes.
2003-04-10 13:06:57 +00:00
Tom Lane
da2060e5fd
Remove premature attempt to constant-fold type coercion expressions.
...
While usually safe, this fails if the coercion function needs the
query snapshot to be set already. Per example from Nigel Andrews.
2003-04-10 02:47:46 +00:00
Peter Eisentraut
a6554df4f7
In an effort to reduce the total number of chapters, combine the small
...
chapters on extending types, operators, and aggregates into the extending
functions chapter. Move the information on how to call table functions
into the queries chapter. Remove some outdated information that is
already present in a better form in other parts of the documentation.
2003-04-10 01:22:45 +00:00
Tom Lane
730840c9b6
First phase of work on array improvements. ARRAY[x,y,z] constructor
...
expressions, ARRAY(sub-SELECT) expressions, some array functions.
Polymorphic functions using ANYARRAY/ANYELEMENT argument and return
types. Some regression tests in place, documentation is lacking.
Joe Conway, with some kibitzing from Tom Lane.
2003-04-08 23:20:04 +00:00