- 26 Aug, 2001 10 commits
-
-
Tom Lane authored
the Admin Guide about routine maintenance tasks. Currently this only discusses the various reasons for doing VACUUM, but perhaps it could be fleshed out with topics like log rotation.
-
Bruce Momjian authored
longer compiles, due to objects being referenced in this patch that do not exist in JDK1.1. Barry Lind --------------------------------------------------------------------------- The JDBC driver requires permission java.net.SocketPermission "host:port", "connect"; in the policy file of the application using the JDBC driver in the postgresql.jar file. Since the Socket() call in the driver is not protected by AccessController.doPrivileged() this permission must also be granted to the entire application.
-
Bruce Momjian authored
-
Tom Lane authored
documentation to come, but the code is all here. initdb forced.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
>>>> >>>> permission java.net.SocketPermission "host:port", "connect"; >>>> >>>>in the policy file of the application using the JDBC driver >>>>in the postgresql.jar file. Since the Socket() call in the >>>>driver is not protected by AccessController.doPrivileged() this >>>>permission must also be granted to the entire application. >>>> >>>>The attached diff fixes it so that the connect permission can be >>>>restricted just the the postgresql.jar codeBase if desired. David Daney
-
Bruce Momjian authored
OU8. Larry Rosenman
-
Bruce Momjian authored
org.postgresql.util.Serialize and org.postgresql.jdbc2.PreparedStatement that fixes the ability to "serialize" a simple java class into a postgres table. The current cvs seems completely broken in this support, so the patch puts it into working condition, granted that there are many limitations with serializing java classes into Postgres. The code to do serialize appears to have been in the driver since Postgres 6.4, according to some comments in the source. My code is not adding any totally new ability to the driver, rather just fixing what is there so that it actually is usable. I do not think that it should affect any existing functions of the driver that people regularly depend on. The code is activated if you use jdbc2.PreparedStatement and try to setObject some java class type that is unrecognized, like not String or not some other primitive type. This will cause a sequence of function calls that results in an instance of Serialize being instantiated for the class type passed. The Serialize constructor will query pg_class to see if it can find an existing table that matches the name of the java class. If found, it will continue and try to use the table to store the object, otherwise an SQL exception is thrown and no harm is done. Serialize.create() has to be used to setup the table for a java class before anything can really happen with this code other than an SQLException (unless by some freak chance a table exists that it thinks it can use). I saw a difference in Serialize.java between 7.1.3 and 7.2devel that I didn't notice before, so I had to redo my changes from the 7.2devel version (why I had to resend this patch now). I was missing the fixString stuff, which is nice and is imporant to ensure the inserts will not fail due to embedded single quote or unescaped backslashes. I changed that fixString function in Serialize just a little since there is no need to muddle with escaping newlines: only escaping single quote and literal backslashes is needed. Postgres appears to insert newlines within strings without trouble.
-
- 25 Aug, 2001 8 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
-
Tom Lane authored
buffer manager with 'pg_clog', a specialized access method modeled on pg_xlog. This simplifies startup (don't need to play games to open pg_log; among other things, OverrideTransactionSystem goes away), should improve performance a little, and opens the door to recycling commit log space by removing no-longer-needed segments of the commit log. Actual recycling is not there yet, but I felt I should commit this part separately since it'd still be useful if we chose not to do transaction ID wraparound.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
wrong directory.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
backend gets on -o option like the regular backend.
-
- 24 Aug, 2001 9 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
documented wrong.
-
Peter Eisentraut authored
bigserial and alias for serial8 for consistency with bigint/int8.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
on Windows. I'm not sure it is the best way to fix them (see patch below.) Mikhail Terekhov with mods by Tom Lane
-
Bruce Momjian authored
This patch moves the logic that looks up TypeOid, PGTypeName, and SQLTypeName from Field to Connection. It is moved to connection since it needs to differ from the jdbc1 to jdbc2 versions and Connection already has different subclasses for the two driver versions. It also made sense to move the logic to Connection as some of the logic was already there anyway. Barry Lind
-
Peter Eisentraut authored
places that were including the wrong files.
-
- 23 Aug, 2001 8 commits
-
-
Tom Lane authored
(TransactionIdPrecedes, TransactionIdFollows, etc). First step on the way to transaction ID wrap solution ...
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
make it use Makefile.shlib, etc.
-
Tom Lane authored
Unixen spell it 'Inf'). Not worth adding multiple expected files and a resultmap just for this.
-
Tom Lane authored
interval arithmetic. From Teodor Sigaev.
-
Bruce Momjian authored
-
Tom Lane authored
the declared result type, rather than requiring exact type match as before. Per pghackers discusssion of 14-Aug.
-
- 22 Aug, 2001 5 commits
-
-
Peter Eisentraut authored
\connect, to avoid possible password prompts and such, at the drawback of having to have superuser access.
-
Peter Eisentraut authored
-
Tom Lane authored
From Oleg Bartunov and Teodor Sigaev.
-
Tom Lane authored
for haskeytype). Update GiST contrib modules too. Add linear-time split algorithm for R-tree GiST opclass. From Oleg Bartunov and Teodor Sigaev.
-
Tom Lane authored
-