Commit Graph

810 Commits

Author SHA1 Message Date
Peter Mount e3cc370d15 Added org/postgresql/DriverClass.java to the list of files removed by make clean (it's dynamically built)
Fixed Statement, so that the update count is valid when an SQL DELETE operation is done.
While fixing the update count, made it easier to get the OID of the last insert as well. Example is in example/basic.java
2000-06-06 11:06:09 +00:00
Peter Mount 0e38f0a1d1 Added some missing org.'s that prevented the use of the geometric types 2000-06-06 07:45:07 +00:00
Peter Mount d7dbba2659 Removed hardwired 8k limit on queries 2000-06-06 07:24:06 +00:00
Bruce Momjian cc2b5e5815 Remove NT-specific file open defines by defining our own open macros for
"rb" and "wb".
2000-06-02 15:57:44 +00:00
Peter Mount 228a5e708c Removed timezone in ResultSet.getTimestamp() 2000-06-01 06:33:01 +00:00
Bruce Momjian b965c90365 More perl cleanup 2000-06-01 03:07:33 +00:00
Bruce Momjian 0cfe2374a7 Rename perl example eg directory to examples. 2000-06-01 03:05:24 +00:00
Peter Eisentraut 6a68f42648 The heralded `Grand Unified Configuration scheme' (GUC)
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.

pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).

Added to configure an --enable-syslog option.

changed all callers from TPRINTF to elog(DEBUG)
2000-05-31 00:28:42 +00:00
Bruce Momjian 6c944bf3cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
Tom Lane 091126fa28 Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
2000-05-29 05:45:56 +00:00
Tom Lane 0a7fb4e918 First round of changes for new fmgr interface. fmgr itself and the
key call sites are changed, but most called functions are still oldstyle.
An exception is that the PL managers are updated (so, for example, NULL
handling now behaves as expected in plperl and plpgsql functions).
NOTE initdb is forced due to added column in pg_proc.
2000-05-28 17:56:29 +00:00
Bruce Momjian d45f7dfdca Update kerberos patch 2000-05-27 04:13:05 +00:00
Bruce Momjian 632a7ed759 Back out kerberos changes. Causes compile problems. 2000-05-27 03:58:20 +00:00
Bruce Momjian 9500b35f17 Patch for Kerberos V.
Most (nearly all) of the work was done by David Wragg <dpw@doc.ic.ac.uk>

He patched 6.5.3. I've updated it for 7.0RC5.

It works for MIT kerberos 1.1.1 (and previously for 1.0.6 as well).

I've got the patch against 6.5.3, plus kerberized RPMS.

Mike Wyer <mw@doc.ic.ac.uk>     ||         "Woof?"
2000-05-27 03:39:33 +00:00
Bruce Momjian ddae527c96 Remove // comments from ODBC. 2000-05-27 03:35:14 +00:00
Bruce Momjian 61f5e13c43 ! * Users doing non-blocking connections need to handle the reset
!        * themselves, they'll need to check the connection status if we
!        * return an error.

Alfred Perlstein
2000-05-25 19:09:55 +00:00
Bruce Momjian b1b9059427 Irix fixes from Murad Nayal 2000-05-22 23:56:44 +00:00
Tom Lane 1f0aff03c0 Remove calls to getprotobyname(), which we now know leaks memory on
some platforms --- and I also see that it is documented as not thread-
safe on HPUX and possibly other platforms.  No good reason not to just
use IPPROTO_TCP constant from <netinet/in.h> instead.
2000-05-21 21:19:53 +00:00
Bruce Momjian f63ba5cd6a Fix WARN->NOTICE in docs. Change libpgeasy connection parameters to use
PQconnectdb() style connections.
2000-05-18 14:24:38 +00:00
Bruce Momjian a8020a78ec Back out odbc changes until 7.1. 2000-05-17 15:36:37 +00:00
Michael Meskes e39a118694 *** empty log message *** 2000-05-17 06:03:14 +00:00
Bruce Momjian a47e20b049 Several compilation and run-time problems occur when building on SGI
IRIX systems using the native compilers.  A summary is:
- Various files use "//" as a comment delimiter in c files.
- Problems caused by assuming "char" is signed.
  cash.in: building -signed the rules regression test fails as described
    in FAQ_QNX4.  If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1.
  postmaster.c: random number regression test failed without this change.
- Some generic build issues and warning message cleanup.

David Kaelbling
2000-05-16 20:48:52 +00:00
Tom Lane 6dd06737ba Remove configure check for how to abbreviate 'tr A-Z a-z', and instead
just use the portable form,
tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
There were a bunch of places that weren't paying attention to configure's
result anyway (including configure itself!?); clean them up too.
2000-05-16 02:14:15 +00:00
Peter Mount 33bb1aee91 Fixed the message Makefile produces after compiling. It still said
about the old Driver class, not the new package. Spotted by
Joseph Shraibman <jks@p1.selectacast.net>
2000-05-15 21:32:51 +00:00
Michael Meskes ce2a9f372d *** empty log message *** 2000-05-15 09:36:06 +00:00
Bruce Momjian 2cfb14e8ea Fix the off by one errors in ResultSet from 6.5.3, and more.
I'm including a diff of
postgresql-7.0/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java.
I've clearly marked all the fixes I did. Would *someone* who has access
to the cvs please put this in?

Joseph Shraibman
2000-05-12 20:54:22 +00:00
Peter Mount 02faee5eaa ImageViewer transaction fixes 2000-05-05 07:35:29 +00:00
Peter Mount 86b8bd0748 Minor fixes ready for 7.0 2000-05-03 15:58:09 +00:00
Bruce Momjian 7ef29a26cb Update SCO FAQ. Billy G. Allie 2000-05-02 10:57:11 +00:00
Bruce Momjian 2f19d11fc8 Clean up ecpg test files. 2000-04-29 03:25:24 +00:00
Bruce Momjian 0ccf3c8877 Update pgeasy examples 2000-04-28 22:49:25 +00:00
Bruce Momjian 0e69b81d25 Update libpgeasy define. 2000-04-28 17:19:42 +00:00
Bruce Momjian 7aa443d01e Change libpgeasy to take dbname at end like all other interfaces. 2000-04-28 14:58:51 +00:00
Bruce Momjian fb7318a632 Update libpgeasy e-mail address 2000-04-27 18:45:43 +00:00
Bruce Momjian f839762e0b Remove DriverClass.java. It is generated by the compile. 2000-04-26 17:54:28 +00:00
Bruce Momjian 0b65e1436e Add res clear to example 2000-04-26 17:51:03 +00:00
Bruce Momjian 3c0685e423 Install Peter's Makefile. 2000-04-26 14:19:29 +00:00
Jan Wieck 9d56aff7bc Reinstalled revision 1.36 (looks Peter Mount installed
a new JDBC Makefile here by accident)

Jan
2000-04-26 09:03:10 +00:00
Peter Mount dbd8d38fa5 third attempt 2000-04-26 05:50:18 +00:00
Peter Mount 4fc3690238 Attempt III 2000-04-26 05:39:32 +00:00
Peter Mount 39116bfbfc Another attempt 2000-04-26 05:32:01 +00:00
Bruce Momjian 1b266fbcca Update libpgeasy readme. 2000-04-26 00:53:11 +00:00
Bruce Momjian a0551e8afa Make c++ examples return 0 from main(). 2000-04-25 21:00:29 +00:00
Bruce Momjian 11ae8ba7ea Add mention of int in variable. 2000-04-23 11:42:51 +00:00
Bruce Momjian bc4e6db44c Add mention of int for variable in examples 2000-04-23 11:39:08 +00:00
Tom Lane cfc0e015a1 Our test to see if we had permission to install into Perl5 install area
always failed if Perl makefile's INSTALLSITELIB variable was specified
in terms of another variable.  Fix by adding an echo-installdir target
to the Perl makefile, which the upper-level Makefile can invoke.
2000-04-23 04:26:32 +00:00
Tom Lane 290978fff0 Remove broken tracing code (which would be dangerous if it did work...)
libpq++.h contained copies of the class declarations in the other libpq++
include files, which was bogus enough, but the declarations were not
completely in step with the real declarations.  Remove these in favor
of including the headers with #include.  Make PgConnection destructor
virtual (not absolutely necessary, but seems like a real good idea
considering the number of subclasses derived from it).  Give all classes
declared private copy constructors and assignment operators, to prevent
compiler from thinking it can copy these objects safely.
2000-04-22 22:39:15 +00:00
Tom Lane 51c92941c6 Update example: PgLargeObject constructor now takes a conninfo string,
not a bare database name.
2000-04-22 22:15:48 +00:00
Bruce Momjian a2b5fac8ca Allow libpq++ compile failure to stop entire compile. 2000-04-20 17:21:46 +00:00
Tom Lane 6216e84df6 Make ECPGraise's str parameter const to suppress warnings from gcc
and errors from pickier compilers.
2000-04-18 00:24:30 +00:00