aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* 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
|
* Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f.Tatsuo Ishii2002-04-08
| | | | | | This is necessary for mulibyte character sequences. See "[HACKERS] PQescapeBytea is not multibyte aware" thread posted around 2002/04/05 for more details.
* When a macro is replaced by the preprocessor, pgc.l reaches a end ofBruce Momjian2002-04-05
| | | | | | | | | | | | | | | file, which is not the actual end of the file. One side effect of that is that if you are i n a ifdef block, you get a wrong error telling you that a endif is missing. This patch corrects pgc.l and also adds a test of this problem to test1.pgc. To convince you apply the patch to test1.pgc first then try to compile the test the n apply the patch to pgc.l. The patch moves the test of the scope of an ifdef block to the end of the file b eeing parsed, including all includes files, ... . Nicolas Bazin
* Fix a bug in SQLError().Hiroshi Inoue2002-04-04
|
* Fix a bug in multibyte_strchr().Hiroshi Inoue2002-04-04
|
* Fix compiler warnings.Hiroshi Inoue2002-04-02
|
* [HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-lHiroshi Inoue2002-04-02
| | | | | | | | | | From: Bradley McLean <brad@bradm.net> Patch against 7,2 submitted for comment. This seems to work just fine; Now, when our users submit a 2 hour query with four million row sorts by accident, then cancel it 30 seconds later, it doesn't bog down the server ...
* Removed error message that was incorectly being issued. This fixes a ↵Barry Lind2002-04-02
| | | | problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
* 1) Add rollback functionality to updatable cursors.Hiroshi Inoue2002-04-01
| | | | | | | 2) Implement some options for SQLGetDescField(). 3) Handle *Inifinity* timestamp for SQL_C_CHAR type output. 4) Separate Unicode conversions from common implementations. 5) Improve internal parse_statement() function.
* Fix ODBC warnings about missing parens and pg_ismb not used (addedBruce Momjian2002-03-29
| | | | #ifdef NOT_USED).
* Fox for old python PyMem_DEL, was PyMem_Del,Bruce Momjian2002-03-29
|
* Fix '#' commant to be proper C comment.Bruce Momjian2002-03-29
|
* [2002-03-28]Hiroshi Inoue2002-03-28
| | | | | | | | | | 1) Prepare to separate 4 kinds of Descriptor handles. 2) Detect the transaction status more naturally. 3) Improve Parse Statement functionality for the use of updatable cursors. 4) Improve updatable cursors. 5) Implement SQLGetDescField() and improve SQLColAttribute(). 6) etc.
* applied patch from Liam Stewart fixing a message in the properties fileBarry Lind2002-03-27
| | | | | also fixed a NPE when calling the next() method on a result set after the connection or resultset has been closed. (bug reported by Hans Deragon)
* applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal ↵Barry Lind2002-03-26
| | | | support
* Changed QueryExecutor.java to correctly read responses from the backend.Barry Lind2002-03-26
| | | | | Fixed NPE when database name was not passed on the jdbc connection URL Fixed Connection.isClosed() to not hit the DB for every call
* Further changes following discussion on INTERFACES mailing list:D'Arcy J.M. Cain2002-03-26
| | | | | - Use PyObject_Del() rather than macro version - Check version and drop back to PyMem_Del() for older systems.
* Fix for ODBC compile warnings.Bruce Momjian2002-03-25
|
* Indenting #if commands is not portable, is it?Tom Lane2002-03-24
|
* Fix minor syntax error.Tom Lane2002-03-21
|
* Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes2002-03-21
| | | | typedefs from SQL ones.
* Two versions of QueryExecutor, currently only version 2 works 100%Dave Cramer2002-03-21
| | | | | | | | these versions adhere to the backend protocol better than previous version fixes problem when an error occurs on the backend, and the connection is still used previous versions were throwing an exception half way through the protocol, leaving it indeterminate. also removes empty query code, should speed things up a bit