Commit Graph

250 Commits

Author SHA1 Message Date
Peter Eisentraut 671be61916 Add uninstall target to Java build.
Respect default port setting in JDBC driver.
Pick up version number from Makefile.global.
Change installation directory to share/java/.
Document.
2001-03-11 11:07:01 +00:00
Bruce Momjian c7aa5998ae Update my2pg, new version. 2001-03-06 22:46:50 +00:00
Peter Mount ef8181b808 Hmmm, a conflict with V1.104 of configure.in remained and broke configure
(said redirection required when run).

After checking using cvsweb, removed the offending conflict.
Rebuilt configure using autoconf, and it now works fine.
2001-03-05 10:18:48 +00:00
Peter Mount e2e84a1c5e First batch of the tools merged in... 2001-03-05 09:15:38 +00:00
Bruce Momjian 60cea7d71a Update mysql converter, new version released. 2001-03-04 15:43:33 +00:00
Marc G. Fournier ca22223e82 start of an admin tool for FreeBSD to help configure shared memory for
that machine

I kept the name as generic as possible though, as other OS should have
similar methods, so this can be extended "as appropriate" ...
2001-02-27 15:37:39 +00:00
Peter Eisentraut 2a398726e7 Doesn't need libpq. 2001-02-25 15:57:45 +00:00
Peter Eisentraut eade6d3569 Remove binary files. 2001-02-25 15:55:05 +00:00
Bruce Momjian b25e60d887 I had a need to read such things as the backend locale and the catalog
version number from the current database, and couldn't find any existing
program to do that.

linda:~$ pg_controldata
Log file id:                          0
Log file segment:                     5
Last modified:                        Wed Feb  7 19:35:47 2001
Database block size:                  8192
Blocks per segment of large relation: 131072
Catalog version number:               200101061
LC_COLLATE:                           en_GB
LC_CTYPE:                             en_GB
Log archive directory:

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
2001-02-23 20:38:35 +00:00
Peter Eisentraut cb6edf9d56 Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
2001-02-20 19:20:30 +00:00
Bruce Momjian 60ea34b046 Changes:
* reverse the change #include <> -> "" in krb.c.
  It _must not_ include files in "."
* Makefile update.  Inconsistent var usage and SHLIB was
  not set.

Now it should work with all external libs.

arko Kreen
2001-02-20 15:34:14 +00:00
Tatsuo Ishii 4571439297 Fix README in Japanese to sync with README.pgbench updated by Tom.
(thanks!)
2001-02-17 06:50:03 +00:00
Tom Lane 810c0b85d2 Update README's install instructions to agree with current reality. 2001-02-16 21:41:53 +00:00
Bruce Momjian d99df62c31 Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, add #include <stdio.h> to the file.  That should fix it.

Seems unlikely, since libpq-fe.h already includes <stdio.h>.

The real problem here is that the code is wrong: it's passing NULL
to an int parameter.

                        regards, tom lane
2001-02-12 21:49:24 +00:00
Bruce Momjian f6df410022 Add stdio to file. 2001-02-12 18:37:35 +00:00
Bruce Momjian 281b7d84fc Add // -> /* */ mapping to pgindent. 2001-02-12 18:30:53 +00:00
Bruce Momjian 9fdd81de1d Add #include <unistd.h> 2001-02-12 13:55:36 +00:00
Bruce Momjian 71f2b6f015 Add to Makefile. 2001-02-11 02:18:48 +00:00
Bruce Momjian 8d1b6de57c Add pg_logger to /contrib. 2001-02-11 02:18:27 +00:00
Peter Eisentraut 2660803697 Only look for bison as YACC; other yaccs need to be selected explicitly.
When no suitable YACC is configured, supply useful informational messages
to users.  (Same way flex has been handled for a while.)
2001-02-10 22:31:42 +00:00
Bruce Momjian a2a51234dd cleanup 2001-02-10 12:07:12 +00:00
Bruce Momjian 2563c3a929 Add URL for my2pg.pl. 2001-02-10 11:59:36 +00:00
Bruce Momjian 66e7d16c27 Add description. 2001-02-10 11:53:14 +00:00
Bruce Momjian 2ecbd255d0 Add both conversion utilities. 2001-02-10 11:46:00 +00:00
Bruce Momjian 228444ae99 cleanup 2001-02-10 11:43:33 +00:00
Bruce Momjian 890bbf2770 Add other mysql conversion utility for comparisons. 2001-02-10 11:43:12 +00:00
Tom Lane 11da9e5cf8 Update findoidjoins notes for 7.1. 2001-02-10 03:57:42 +00:00
Tom Lane fce33c7f85 Compile a little more cleanly. 2001-02-10 03:44:54 +00:00
Tom Lane 2a1553c7fd Add oid2name subdirectory to contrib Makefile. 2001-02-10 03:44:06 +00:00
Tom Lane d08741eab5 Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively.  By default, only include files meant for frontend use are
installed into the installation include directory.  There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-10 02:31:31 +00:00
Peter Eisentraut fdf87fdf7b Add new FreeBSD start script that makes use of new pg_ctl functionality. 2001-02-10 00:13:23 +00:00
Tom Lane ed4f2f8278 Remove link to dead subdirectory 'linux'. 2001-02-09 18:42:35 +00:00
Peter Eisentraut bbac19a973 Remove outdated contrib/linux start scripts. Beat some sense into
contrib/init.d start script.  Place into more aptly named directory.  Maybe
we could add scripts for other platforms here later.
2001-02-08 19:53:33 +00:00
Bruce Momjian e58775ee75 UPdate file from Patrick. 2001-02-08 04:57:24 +00:00
Bruce Momjian a0885fe63c cleaned up. 2001-02-06 21:38:43 +00:00
Bruce Momjian 9213f63400 Make it clearer. 2001-02-06 21:37:55 +00:00
Bruce Momjian 659a1d65c6 Well, learned the hard way...
Marko Kreen
2001-02-06 18:05:13 +00:00
Bruce Momjian a0b9ffbbeb Update /contrib and TODO.detail. 2001-02-06 17:47:48 +00:00
Bruce Momjian 80dbae395d Change description. 2001-02-03 04:13:22 +00:00
Bruce Momjian 58f882d4b2 Please replace with the one attached to this email message. The
previous version depended on the below patch, this one does not. It is
also a bit cleaner and has a few more helpful comments.

Ryan Kirkpatrick
2001-02-01 18:31:10 +00:00
Bruce Momjian ed7910ef44 Update /contrib README and add init.d from Ryan. 2001-01-30 17:37:49 +00:00
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
Bruce Momjian 92681e975d Oops, got binary in there too. 2001-01-24 05:49:09 +00:00
Bruce Momjian 80d24370e0 Oops, had .o file in there. 2001-01-24 05:06:15 +00:00
Bruce Momjian cb5427ee47 I would like to do a interface change in pgcrypto. (Good
timing, I know :))  At the moment the digest() function returns
hexadecimal coded hash, but I want it to return pure binary.  I
have also included functions encode() and decode() which support
'base64' and 'hex' encodings, so if anyone needs digest() in hex
he can do encode(digest(...), 'hex').

Main reason for it is "to do one thing and do it well" :)

Another reason is if someone needs really lot of digesting, in
the end he wants to store the binary not the hexadecimal result.
It is really silly to convert it to hex then back to binary
again.  As I said if someone needs hex he can get it.

Well, and the real reason that I am doing encrypt()/decrypt()
functions and _they_ return binary.  For testing I like to see
it in hex occasionally, but it is really wrong to let them
return hex.  Only now it caught my eye that hex-coding in
digest() is wrong.  When doing digest() I thought about 'common
case' but hacking with psql is probably _not_ the common case :)

Marko Kreen
2001-01-24 03:46:16 +00:00
Bruce Momjian a939e97451 Update 2001-01-24 03:40:33 +00:00
Bruce Momjian 2c591cb821 Add oid2name. Add streaming option later. 2001-01-24 00:41:25 +00:00
Peter Mount 11cb9acb68 Some more additions to contrib for JDBC 2001-01-23 10:22:22 +00:00
Peter Mount 45b5d792af Thu Jan 18 12:24:00 GMT 2001 peter@retep.org.uk
- These methods in org.postgresql.jdbc2.ResultSet are now implemented:
            getBigDecimal(int) ie: without a scale (why did this get missed?)
            getBlob(int)
            getCharacterStream(int)
            getConcurrency()
            getDate(int,Calendar)
            getFetchDirection()
            getFetchSize()
            getTime(int,Calendar)
            getTimestamp(int,Calendar)
            getType()
          NB: Where int represents the column name, the associated version
              taking a String were already implemented by calling the int
              version.
        - These methods no longer throw the not implemented but the new noupdate
          error. This is in preparation for the Updateable ResultSet support
          which will overide these methods by extending the existing class to
          implement that functionality, but needed to show something other than
          notimplemented:
            cancelRowUpdates()
            deleteRow()
        - Added new error message into errors.properties "postgresql.noupdate"
          This is used by jdbc2.ResultSet when an update method is called and
          the ResultSet is not updateable. A new method notUpdateable() has been
          added to that class to throw this exception, keeping the binary size
          down.
        - Added new error message into errors.properties "postgresql.psqlnotimp"
          This is used instead of unimplemented when it's a feature in the
          backend that is preventing this method from being implemented.
        - Removed getKeysetSize() as its not part of the ResultSet API

Thu Jan 18 09:46:00 GMT 2001 peter@retep.org.uk
        - Applied modified patch from Richard Bullington-McGuire
          <rbulling@microstate.com>. I had to modify it as some of the code
          patched now exists in different classes, and some of it actually
          patched obsolete code.

Wed Jan 17 10:19:00 GMT 2001 peter@retep.org.uk
        - Updated Implementation to include both ANT & JBuilder
        - Updated README to reflect the changes since 7.0
	- Created jdbc.jpr file which allows JBuilder to be used to edit the
          source. JBuilder _CAN_NOT_ be used to compile. You must use ANT for
          that. It's only to allow JBuilders syntax checking to improve the
          drivers source. Refer to Implementation for more details
2001-01-18 14:50:15 +00:00
Thomas G. Lockhart 26696580c4 Add "--nodata" option to allow schema conversion only. 2001-01-18 07:16:56 +00:00