- 25 10月, 2001 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
script.
-
由 Bruce Momjian 提交于
from Mark Lillywhite. I am adding to the patch queue.
-
- 24 10月, 2001 1 次提交
-
-
由 Barry Lind 提交于
fix for a bug in DatabaseMetaData.getIndexInfo(). This fixes a bug reported 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
-
- 23 10月, 2001 1 次提交
-
-
由 Michael Meskes 提交于
-
- 19 10月, 2001 5 次提交
-
-
由 Bruce Momjian 提交于
> results of every fetch). Stephen Robert Norris
-
由 Michael Meskes 提交于
-
由 Hiroshi Inoue 提交于
SQL_RETRIEVE_DATA option is SQL_RD_OFF. This would avoid a crash when scrolling Grid controls.
-
由 Bruce Momjian 提交于
-
由 Thomas G. Lockhart 提交于
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.
-
- 18 10月, 2001 1 次提交
-
-
由 Michael Meskes 提交于
-
- 17 10月, 2001 2 次提交
-
-
由 Barry Lind 提交于
-
由 Barry Lind 提交于
-
- 16 10月, 2001 3 次提交
-
-
由 Bruce Momjian 提交于
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
-
由 Tom Lane 提交于
-
由 Bruce Momjian 提交于
> ! $$ = 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
-
- 15 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
last commit very carefully...)
-
- 14 10月, 2001 2 次提交
-
-
由 Michael Meskes 提交于
- Synced preproc.y with gram.y.
-
由 Peter Eisentraut 提交于
-
- 12 10月, 2001 2 次提交
-
-
由 Hiroshi Inoue 提交于
-
由 Hiroshi Inoue 提交于
-
- 10 10月, 2001 2 次提交
-
-
由 Peter Eisentraut 提交于
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.
-
由 Barry Lind 提交于
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
-
- 08 10月, 2001 1 次提交
-
-
由 Michael Meskes 提交于
-
- 06 10月, 2001 2 次提交
-
-
由 Bruce Momjian 提交于
and modified from Simplified Chinese translations for backend, pgsql, pg_dump and libpq. I've appended their names to zh_TW.po. forth
-
由 Michael Meskes 提交于
-
- 05 10月, 2001 1 次提交
-
-
由 Michael Meskes 提交于
-
- 04 10月, 2001 4 次提交
-
-
由 Bruce Momjian 提交于
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
-
由 Bruce Momjian 提交于
translation, the attachement is those four files. (.tar.gz file, with the directory, root is $PGSRC). Tested on some Linux platform. Weiping He
-
由 Tom Lane 提交于
format strings wherever possible. Remarkably, this exercise didn't turn up any inconsistencies, but it seems a good idea for the future.
-
由 Tom Lane 提交于
'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.
-
- 03 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
definition without changing the function's OID, thereby not breaking rules, views, triggers, etc that depend on it. From Gavin Sherry.
-
- 02 10月, 2001 1 次提交
-
-
由 Michael Meskes 提交于
deleted it.
-
- 01 10月, 2001 4 次提交
-
-
由 Michael Meskes 提交于
- Added patch by Christof Petig <christof.petig@wtal.de> to clean up ecpglib.
-
由 Tom Lane 提交于
only if configure found it was safe to do so; do not assume const_cast is available.
-
由 Tom Lane 提交于
Some compilers are pickier about this than gcc is.
-
由 Tom Lane 提交于
cleverer than it actually is ;-) Braces are good for you :-) Gerhard HÌring
-
- 30 9月, 2001 1 次提交
-
-
由 Tom Lane 提交于
returns a string corresponding to the new setting, not the old, therefore the previous patch was quite wrong.
-
- 29 9月, 2001 2 次提交
-
-
由 Bruce Momjian 提交于
Liam Stewart
-
由 Bruce Momjian 提交于
DatabaseMetaData.getColumn(). I proposed a patch that would change the number of queries to find out all columns in a table from 2 * N + 1 to 1 (N being the number of columns reported) by using some outer joins. I also fixed the fact that getColumns() only returned columns that had a default defined. OTOH, I did not use to change the code required for obtaining a column's remarks (by using col_description() for 7.2 and requested by Tom Lane). Finally, I have found a way to get all the column details in a single query *and* use col_description() for 7.2 servers. A patch is attached. It overrules Ren? Pijlman's fix for this that was committed just today, but still used N + 1 queries (sorry Ren? ;-) ) I also fixed the return values for TABLE_CAT and TABLE_SCHEM from "" to null, to be more standard compliant (and requested in Ren?'s mail found at http://fts.postgresql.org/db/mw/msg.html?mid=1034253). As always, the JDBC1 version has not been tested as I have no JDK 1.1 Jeroen van Vianen
-