aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* 1) Fix a bug *double error message*.Hiroshi Inoue2002-06-12
| | | | | 2) Fix a bug *passowrd prompt in case of md5 authentication*. 3) Improve the DSN setup dialog.
* Katherine Ward wrote:Jan Wieck2002-06-11
| | | | | | | | | | | | | | > 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
* The patch does the following:Barry Lind2002-06-11
| | | | | | | | | | | | | | | | | | | | 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 ----------------------------------------------------------------------
* Remove int16 from libpgeasy examples. Improve error reporting.Bruce Momjian2002-06-07
|
* fixed bug reported by cc.ais40@wanadoo.fr where getObject was returning an ↵Barry Lind2002-06-07
| | | | Integer for a smallint datatype instead of a Short
* Fix interface example errors causes by backend changes.Bruce Momjian2002-06-07
| | | | Permaine Cheung
* change table name to lower case in getColumnsDave Cramer2002-06-06
|
* Add missing win_setup.h.Hiroshi Inoue2002-06-06
|
* Add *Int8 As* option.Hiroshi Inoue2002-06-06
|
* fixed getImported/ExportedKeys to be simpler, and return the correct number ↵Dave Cramer2002-06-05
| | | | of keys
* fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type ↵Barry Lind2002-06-03
| | | | handled Timestamps incorrectly
* Small patch to correct the default arraysize associatedBruce Momjian2002-06-03
| | | | | | | | 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
* Add PQescapeString and PQescapeBytea for Win32.Bruce Momjian2002-06-02
|
* Allow pod2man 5.005p3 to work with our current sources.Bruce Momjian2002-06-02
|
* small fix to testExportedKeysDave Cramer2002-05-30
|
* added imported/exported key testDatabaseMetaDataTest.javaDave Cramer2002-05-30
|
* Change PL/Perl and Pg interface build to use configured compiler andPeter Eisentraut2002-05-28
| | | | Makefile.shlib system, not MakeMaker.
* 1) Support Keyset Driven driver cursors.Hiroshi Inoue2002-05-22
| | | | | | | | | | 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.
* - Fixed some parser bugs.Michael Meskes2002-05-20
| | | | | - Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
* - Fixed reduce/reduce conflict in parser.Michael Meskes2002-05-19
| | | | | | - Synced preproc.y with gram.y. - Synced pgc.l with scan.l. - Synced keywords.c.
* Merge the last few variable.c configuration variables into the genericTom Lane2002-05-17
| | | | | | | | | 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.
* fixed problem connecting to server with client_min_messages set to debug. ↵Barry Lind2002-05-14
| | | | The code was not expecting to receive notice messages during the connection handshake.
* Add a file for version control.Hiroshi Inoue2002-05-09
|
* Fix typo in usage instructions.Tom Lane2002-05-03
|
* Remove the last traces of datatypes datetime and timespan.Tom Lane2002-05-03
|
* - Synced yet again.Michael Meskes2002-04-28
| | | | - Fixed a typo in a comment printed by ecpg.
* Fix for the following items about escape sequenceHiroshi Inoue2002-04-25
| | | | | | | | | | | 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:
* Remove reference to NAMEDATALEN, which wasn't necessary anyway.Peter Eisentraut2002-04-24
|
* Update jdbc errors_zh_TW.properties.Bruce Momjian2002-04-24
| | | | Zhenbang Wei
* I'm at the win32 error messages once more. The DLL load thingy doesn'tBruce Momjian2002-04-24
| | | | | | | | | | | | | | | | 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
* pgdb.connect() seems to be broken on Python 2.0.1 (which ships withBruce Momjian2002-04-24
| | | | | | | | | | | 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
* Sorry for the package, but the following patch need to be applied to getBruce Momjian2002-04-24
| | | | | | the new verion compiled on SCO Openserver 5.0.5 and Unixware 7.1.1 Nicolas Bazin
* 1) Fix SQLProcedures().Hiroshi Inoue2002-04-23
| | | | | 2) Handle timestamp without time zone. 3) Improve SQLForeignKeys() in multibyte mode.
* Synced preproc.y and keywords.c.Michael Meskes2002-04-22
|
* Include stdio.h and stdlib.h for completeness.Thomas G. Lockhart2002-04-21
|
* Add missing include.Peter Eisentraut2002-04-20
|
* Ant 1.4.1 now requires for jdbc. Mention in HISTORY release notes.Bruce Momjian2002-04-18
|
* Back out python change, needs delay.Bruce Momjian2002-04-18
|
* Change docs to do 20! rather than larger.Bruce Momjian2002-04-18
|
* Added some rudimentary table and column testsDave Cramer2002-04-16
| | | | added a setup/teardown to create and drop the connection, and table
* fixed getColumns as per Panu Outinen's email. At this point have only ↵Dave Cramer2002-04-16
| | | | repaired the bug, haven't made it caseInsensitive
* Fixed typo in preproc/type.hMichael Meskes2002-04-16
|
* Fix for NOTIFY when NAMEDATALEN is nonstandard in server. Fix idea fromBruce Momjian2002-04-15
| | | | | Tom Lane to move string storage to end of structure but keep pointer in the same location.
* Fix for EINTR returns from Win9X socket operations:Bruce Momjian2002-04-15
| | | | | | | | | | | | | | 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
* 1) Fix a bug about reporting varchar info thanks to Aceto.Hiroshi Inoue2002-04-15
| | | | | 2) Introcuced 3 drivers. 3) The version is now 7.02.0001.
* - Synced preproc.y with gram.yMichael Meskes2002-04-14
| | | | - Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
* 1) Fix a bug in declare/fetch mode.Hiroshi Inoue2002-04-12
| | | | 2) Suppress some error logs for the request to other drivers.
* Restructure representation of aggregate functions so that they have pg_procTom Lane2002-04-11
| | | | | | | | | | 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.
* Prevent an infinite loop of error reporting.Hiroshi Inoue2002-04-10
|
* Let psqlodbc30 be compilable without /D DRIVER_CURSOR_IMPLEMENT.Hiroshi Inoue2002-04-09
|