aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* changes to support 3rd party ERD tools and starofficeDave Cramer2001-10-31
|
* allow null passwordsDave Cramer2001-10-31
|
* added dummy loginDave Cramer2001-10-31
|
* Traditional Chinese error messages for JDBC.Bruce Momjian2001-10-31
| | | | Zhenbang Wei
* Add ALTER TABLE ADD UNIQUE regression tests from Christopher Kings-Lynne.Bruce Momjian2001-10-31
| | | | | | Add space between slash for ALTER TABLE / ADD .... Regression and *.po updates to follow.
* Apply updated PO language patch.Bruce Momjian2001-10-31
| | | | Zhenbang Wei
* PO language update.Bruce Momjian2001-10-31
| | | | forth@pagic.net
* fixed change in behavior introduced in bytea / getBytes changes. This patch ↵Barry Lind2001-10-30
| | | | reverts back unintentional change in behavior to return raw value even when not bytea column
* Fix small problem Tom Lane found with pgindent run.Bruce Momjian2001-10-30
|
* updated patch from Mark Lillywhite per Tom Lane's comments: subtract ↵Barry Lind2001-10-30
| | | | VARHDRSZ first then and with 0xffff
* applied patch from Mark Lillywhite, patch was already applied to jdbc2, this ↵Barry Lind2001-10-30
| | | | applies same fix to jdbc1 code
* Change position of a check button in multibyte mode.Hiroshi Inoue2001-10-29
|
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-28
| | | | spacing. Also adds space for one-line comments.
* Remove 294 reduce/reduce conflicts.Tom Lane2001-10-25
|
* pgjindent jdbc files. First time jdbc files were formatted.Bruce Momjian2001-10-25
|
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-25
| | | | tests pass.
* Add do { ... } while (0) to more bad macros.Bruce Momjian2001-10-25
|
* Add missing "do { ... } while(0)" in ODBC macros and add find_baddefsBruce Momjian2001-10-25
| | | | script.
* Here is a patch for DatabaseMetaData to show precision properly. It isBruce Momjian2001-10-24
| | | | from Mark Lillywhite. I am adding to the patch queue.
* fix for a bug in DatabaseMetaData.getIndexInfo(). This fixes a bug reported ↵Barry Lind2001-10-24
| | | | by tom_falconer@lineone.net. On Sept 7th, he sent a test case to the list demonstrating the bug. His test case now works successfully with this patch
* synced preproc.y with gram.yMichael Meskes2001-10-22
|
* > This stops the interface from leaking the row tuples (and thus theBruce Momjian2001-10-19
| | | | | | > results of every fetch). Stephen Robert Norris
* removed "not fully implemented" warning for nullifMichael Meskes2001-10-19
|
* Change SC_fetch() to not retrieve data in case theHiroshi Inoue2001-10-19
| | | | | SQL_RETRIEVE_DATA option is SQL_RD_OFF. This would avoid a crash when scrolling Grid controls.
* Document all the ecpg error codes.Bruce Momjian2001-10-18
|
* Accept an INTERVAL argument for SET TIME ZONE per SQL99.Thomas G. Lockhart2001-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | Modified the parser and the SET handlers to use full Node structures rather than simply a character string argument. Implement INTERVAL() YEAR TO MONTH (etc) syntax per SQL99. Does not yet accept the goofy string format that goes along with, but this should be fairly straight forward to fix now as a bug or later as a feature. Implement precision for the INTERVAL() type. Use the typmod mechanism for both of INTERVAL features. Fix the INTERVAL syntax in the parser: opt_interval was in the wrong place. INTERVAL is now a reserved word, otherwise we get reduce/reduce errors. Implement an explicit date_part() function for TIMETZ. Should fix coersion problem with INTERVAL reported by Peter E. Fix up some error messages for date/time types. Use all caps for type names within message. Fix recently introduced side-effect bug disabling 'epoch' as a recognized field for date_part() etc. Reported by Peter E. (??) Bump catalog version number. Rename "microseconds" current transaction time field from ...Msec to ...Usec. Duh! date/time regression tests updated for reference platform, but a few changes will be necessary for others.
* Added Lee Kindness' patches.Michael Meskes2001-10-18
|
* Updated the list of encodings supported to match what the backend now supportsBarry Lind2001-10-16
|
* Added some additional comments in the codeBarry Lind2001-10-16
|
* Python handle as string all int8 values from postgresql. This could beBruce Momjian2001-10-16
| | | | | | | | | | | | | | | view when using the aggregate function count() and function nextval that returns an int8 value, but in python is represented like string: >> db.query("select nextval('my_seq')").getresult() [('2',)] >> db.query("select count(*) from films").dictresult() [{'count': '120'}] Ricardo Caesar Lenzi
* Doesn't anyone test stuff before they commit it?Tom Lane2001-10-15
|
* > Uh, isn't the correct fixBruce Momjian2001-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | > ! $$ = cat_str(8, make_str("grant"), $2, make_str("on"), $4, $5, > make_str("to"), $7, $8); > ISTM your patch loses the opt_with_grant clause. (Of course the > backend doesn't currently accept that clause anyway, but that's no > reason for ecpg to drop it.) My patch doesn't loose the option, it's never been passed on anyway: opt_with_grant: WITH GRANT OPTION { mmerror(ET_ERROR, "WITH GRANT OPTION is not supported. Only relation owners can set privileges"); } | /*EMPTY*/ ; The existing code in ecpg/preproc/preproc.y to handle the WITH option simply throws an error and aborts the processing... The patch below prevents the segfault and also passes on the WITH option to the backend, probably a better fix. Lee Kindness
* Synchronize with main parser's keyword list (someone didn't check hisTom Lane2001-10-15
| | | | last commit very carefully...)
* - Fixed GRANT statement.Michael Meskes2001-10-14
| | | | - Synced preproc.y with gram.y.
* Fix logic in insert() function.Peter Eisentraut2001-10-13
|
* Update the version of psqlodbc driver.Hiroshi Inoue2001-10-12
|
* Fix the bug reported by Chris Lee.Hiroshi Inoue2001-10-12
|
* Allow optional () after current_user, session_user, user, current_time,Peter Eisentraut2001-10-09
| | | | | | | | | current_timestamp, current_date for ODBC compatibility. Add more functions to odbc.sql catalog extension, use new CREATE OR REPLACE FUNCTION. Document iODBC/unixODBC build options.
* This patch fixes a bug introduced in the jdbc bytea support patch.Barry Lind2001-10-09
| | | | | | | | | | | | | | That patch broke the ability to read data from binary cursors. --Barry Lind Modified Files: pgsql/src/interfaces/jdbc/org/postgresql/Connection.java pgsql/src/interfaces/jdbc/org/postgresql/ResultSet.java pgsql/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/UpdateableResultSet.java
* Fix include file so library is binary compatible again.Michael Meskes2001-10-08
|
* files attached are Traditional Chinese translations translatedBruce Momjian2001-10-05
| | | | | | | and modified from Simplified Chinese translations for backend, pgsql, pg_dump and libpq. I've appended their names to zh_TW.po. forth
* Make sure each call to ECPGraise is logged.Michael Meskes2001-10-05
|
* Fixed typo in proproc.yMichael Meskes2001-10-05
|
* Attached is a patch which deals withBruce Momjian2001-10-04
| | | | | | | | | | | | | | | | | | | | select 'id' as xxx from table The issue is: When the driver gets a data type which does not map into the SQL.Types it attempts to load the object into a java object. Eventually throwing an exception indicating that the type "unknown" was not found. Since the backend defaults "unknown" types to text it was suggested that the jdbc driver do the same. This patch does just that. I have tested it on the above select statement as well as a small program that serializes, and deserializes a class Dave Cramer
* I've just finished the Chinese NLS support(zh_CN part) filesBruce Momjian2001-10-04
| | | | | | | | | translation, the attachement is those four files. (.tar.gz file, with the directory, root is $PGSRC). Tested on some Linux platform. Weiping He
* Consistently use gcc's __attribute__((format)) to check sprintf-styleTom Lane2001-10-03
| | | | | format strings wherever possible. Remarkably, this exercise didn't turn up any inconsistencies, but it seems a good idea for the future.
* DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntaxTom Lane2001-10-03
| | | | | | | 'aggname (aggtype)'. The old syntax 'aggname aggtype' is still accepted for backwards compatibility. Fix pg_dump, which was actually broken for most cases of user-defined aggregates. Clean up error messages associated with these commands.
* Add CREATE OR REPLACE FUNCTION syntax to allow replacing a functionTom Lane2001-10-02
| | | | | definition without changing the function's OID, thereby not breaking rules, views, triggers, etc that depend on it. From Gavin Sherry.
* Re-added Tom's patch fixing my setlocale patch. I accidentlyMichael Meskes2001-10-02
| | | | deleted it.
* - Fixed truncate bug.Michael Meskes2001-10-01
| | | | | | - Added patch by Christof Petig <christof.petig@wtal.de> to clean up ecpglib.