summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2002-06-121) Fix a bug *double error message*.Hiroshi Inoue
2) Fix a bug *passowrd prompt in case of md5 authentication*. 3) Improve the DSN setup dialog.
2002-06-11Katherine Ward wrote:Jan Wieck
> Changes to avoid collisions with WIN32 & MFC names... > 1. Renamed: > a. PROC => PGPROC > b. GetUserName() => GetUserNameFromId() > c. GetCurrentTime() => GetCurrentDateTime() > d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim > > 2. Added _P to some lex/yacc tokens: > CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT Jan
2002-06-11The patch does the following:Barry Lind
Allows you to set the loglevel at runtime by adding ?loglevel=X to the connection URL, where 1 = INFO and 2 = DEBUG. Automatically turns on logging by calling DriverManager.setPrintWriter(new PrintWriter(System.out)) if one is not already set. Adds a Driver.info() message that prints out the version number Adds member variables logDebug and logInfo that can be checked before making logging methods calls Adds a build number to the version number string. This build number will need to be manually incremented when we see fit. ---------------------------------------------------------------------- Modified Files: org/postgresql/Connection.java org/postgresql/Driver.java.in org/postgresql/fastpath/Fastpath.java org/postgresql/jdbc1/DatabaseMetaData.java org/postgresql/jdbc2/Connection.java org/postgresql/jdbc2/DatabaseMetaData.java org/postgresql/largeobject/LargeObjectManager.java org/postgresql/util/PSQLException.java org/postgresql/util/Serialize.java ----------------------------------------------------------------------
2002-06-07Remove int16 from libpgeasy examples. Improve error reporting.Bruce Momjian
2002-06-07fixed bug reported by cc.ais40@wanadoo.fr where getObject was returning an ↵Barry Lind
Integer for a smallint datatype instead of a Short
2002-06-07Fix interface example errors causes by backend changes.Bruce Momjian
Permaine Cheung
2002-06-06change table name to lower case in getColumnsDave Cramer
2002-06-06Add missing win_setup.h.Hiroshi Inoue
2002-06-06Add *Int8 As* option.Hiroshi Inoue
2002-06-05fixed getImported/ExportedKeys to be simpler, and return the correct number ↵Dave Cramer
of keys
2002-06-03fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type ↵Barry Lind
handled Timestamps incorrectly
2002-06-03Small patch to correct the default arraysize associatedBruce Momjian
with the Cursor object's fetchmany() method. The API and inline documentation state that the default is 1. It currently defaults to 5. Patrick Macdonald
2002-06-02Add PQescapeString and PQescapeBytea for Win32.Bruce Momjian
2002-06-02Allow pod2man 5.005p3 to work with our current sources.Bruce Momjian
2002-05-30small fix to testExportedKeysDave Cramer
2002-05-30added imported/exported key testDatabaseMetaDataTest.javaDave Cramer
2002-05-28Change PL/Perl and Pg interface build to use configured compiler andPeter Eisentraut
Makefile.shlib system, not MakeMaker.
2002-05-221) Support Keyset Driven driver cursors.Hiroshi Inoue
2) Supprt ARD precision/scale and SQL_C_NUEMRIC. 3) Minimal implementation of SQLGetDiagField(). 4) SQLRowCount() reports the result of SQLSetPos and SQLBulkOperation. 5) int8 -> SQL_NUMERIC for Microsoft Jet. 6) Support isolation level change. 7) ODBC3.0 SQLSTATE code. 8) Append mode log files.
2002-05-20 - Fixed some parser bugs.Michael Meskes
- Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
2002-05-19 - Fixed reduce/reduce conflict in parser.Michael Meskes
- Synced preproc.y with gram.y. - Synced pgc.l with scan.l. - Synced keywords.c.
2002-05-17Merge the last few variable.c configuration variables into the genericTom Lane
GUC support. It's now possible to set datestyle, timezone, and client_encoding from postgresql.conf and per-database or per-user settings. Also, implement rollback of SET commands that occur in a transaction that later fails. Create a SET LOCAL var = value syntax that sets the variable only for the duration of the current transaction. All per previous discussions in pghackers.
2002-05-14fixed problem connecting to server with client_min_messages set to debug. ↵Barry Lind
The code was not expecting to receive notice messages during the connection handshake.
2002-05-09Add a file for version control.Hiroshi Inoue
2002-05-03Fix typo in usage instructions.Tom Lane
2002-05-03Remove the last traces of datatypes datetime and timespan.Tom Lane
2002-04-28 - Synced yet again.Michael Meskes
- Fixed a typo in a comment printed by ecpg.
2002-04-25Fix for the following items about escape sequenceHiroshi Inoue
by Marcelo Aceto <aceto@newinf.com.br> . 1) Wrong translations of embedded escape sequences inside outer join escape sequences. 2) Wrong translation of parameter markers inside outer joins and function escape sequences. 3) Bad concatenation of date, time, timestamp constants with next word in statement:
2002-04-24Remove reference to NAMEDATALEN, which wasn't necessary anyway.Peter Eisentraut
2002-04-24Update jdbc errors_zh_TW.properties.Bruce Momjian
Zhenbang Wei
2002-04-24I'm at the win32 error messages once more. The DLL load thingy doesn'tBruce Momjian
work on all win9x machines, so i made it go thru a l ookup table instead, using the DLL as last resort. I also moved this out of the fe-misc.c file because of the size of the lookup ta ble. Who knows, we might add more other win32 specific code there in the future. I also fixed a small typo in the pg_config.h.win32 that made the compiler compla in about the gnu snprintf declaration. I tried to make this patch with psql coding style. I've successfully tested this on win2k and win98 and it works fine (i.e. the mes sage shows on win98 too, it didn't with the old implementation). Magnus Naeslund
2002-04-24pgdb.connect() seems to be broken on Python 2.0.1 (which ships withBruce Momjian
Slackware 8), and perhaps on other Pythons, haven't checked. Something in the _pg.connect() call isn't working. I think the problem stems from the fact that 'host' is a named parameter of both _pg.connect and pgdb.connect, and so Python treats it as a variable assignment, not a named parameter. Uses non-named parameters. Andrew Johnson
2002-04-24Sorry for the package, but the following patch need to be applied to getBruce Momjian
the new verion compiled on SCO Openserver 5.0.5 and Unixware 7.1.1 Nicolas Bazin
2002-04-231) Fix SQLProcedures().Hiroshi Inoue
2) Handle timestamp without time zone. 3) Improve SQLForeignKeys() in multibyte mode.
2002-04-22Synced preproc.y and keywords.c.Michael Meskes
2002-04-21Include stdio.h and stdlib.h for completeness.Thomas G. Lockhart
2002-04-20Add missing include.Peter Eisentraut
2002-04-18Ant 1.4.1 now requires for jdbc. Mention in HISTORY release notes.Bruce Momjian
2002-04-18Back out python change, needs delay.Bruce Momjian
2002-04-18Change docs to do 20! rather than larger.Bruce Momjian
2002-04-16Added some rudimentary table and column testsDave Cramer
added a setup/teardown to create and drop the connection, and table
2002-04-16fixed getColumns as per Panu Outinen's email. At this point have only ↵Dave Cramer
repaired the bug, haven't made it caseInsensitive
2002-04-16Fixed typo in preproc/type.hMichael Meskes
2002-04-15Fix for NOTIFY when NAMEDATALEN is nonstandard in server. Fix idea fromBruce Momjian
Tom Lane to move string storage to end of structure but keep pointer in the same location.
2002-04-15Fix for EINTR returns from Win9X socket operations:Bruce Momjian
In summary, if a software writer implements timer events or other events which generate a signal with a timing fast enough to occur while libpq is inside connect(), then connect returns -EINTR. The code following the connect call does not handle this and generates an error message. The sum result is that the pg_connect() fails. If the timer or other event is right on the window of the connect() completion time, the pg_connect() may appear to work sporadically. If the event is too slow, pg_connect() will appear to always work and if the event is too fast, pg_connect() will always fail. David Ford
2002-04-151) Fix a bug about reporting varchar info thanks to Aceto.Hiroshi Inoue
2) Introcuced 3 drivers. 3) The version is now 7.02.0001.
2002-04-14- Synced preproc.y with gram.yMichael Meskes
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
2002-04-121) Fix a bug in declare/fetch mode.Hiroshi Inoue
2) Suppress some error logs for the request to other drivers.
2002-04-11Restructure representation of aggregate functions so that they have pg_procTom Lane
entries, per pghackers discussion. This fixes aggregates to live in namespaces, and also simplifies/speeds up lookup in parse_func.c. Also, add a 'proimplicit' flag to pg_proc that controls whether a type coercion function may be invoked implicitly, or only explicitly. The current settings of these flags are more permissive than I would like, but we will need to debate and refine the behavior; for now, I avoided breaking regression tests as much as I could.
2002-04-10Prevent an infinite loop of error reporting.Hiroshi Inoue
2002-04-09Let psqlodbc30 be compilable without /D DRIVER_CURSOR_IMPLEMENT.Hiroshi Inoue