- 22 May, 2001 4 commits
-
-
Bruce Momjian authored
the output of "egrep '^[0-9]' " is empty. Changing the pattern to "egrep '^[ ]*[0-9]" generates the correct file. Tegge, Bernd
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 21 May, 2001 4 commits
-
-
Bruce Momjian authored
You can't use relation names alone in the target list, try relation.*
-
Bruce Momjian authored
-
Peter Eisentraut authored
too long. While I was adjusting the regression tests I moved the array things all into array.sql, to make things more manageable.
-
Jan Wieck authored
- New functions to create a portal using a prepared/saved SPI plan or lookup an existing portal by name. - Functions to fetch/move from/in portals. Results are placed in the usual SPI_processed and SPI_tuptable, so the entire set of utility functions can be used to gain attribute access. - Prepared/saved SPI plans now use their own memory context and SPI_freeplan(plan) can remove them. - Tuple result sets (SPI_tuptable) now uses it's own memory context and can be free'd by SPI_freetuptable(tuptab). Enhancement of PL/pgSQL - Uses generic named portals internally in FOR ... SELECT loops to avoid running out of memory on huge result sets. - Support for CURSOR and REFCURSOR syntax using the new SPI functionality. Cursors used internally only need no explicit transaction block. Refcursor variables can be used inside of explicit transaction block to pass cursors between main application and functions. Jan
-
- 20 May, 2001 2 commits
-
-
Tom Lane authored
create_index_paths are not immediately discarded, but are available for subsequent planner work. This allows avoiding redundant syscache lookups in several places. Change interface to operator selectivity estimation procedures to allow faster and more flexible estimation. Initdb forced due to change of pg_proc entries for selectivity functions!
-
Bruce Momjian authored
-
- 19 May, 2001 6 commits
-
-
Peter Eisentraut authored
initialized FmgrInfo structs linger after elog.
-
Peter Eisentraut authored
FUNCTION command. Guard against trying to load a directory. Update documentation some.
-
Bruce Momjian authored
errors.properties files were being copied.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
/* * parse function * This code is confusing because the database can accept * relation.column, column.function, or relation.column.function. * In these cases, funcname is the last parameter, and fargs are * the rest. * * It can also be called as func(col) or func(col,col). * In this case, Funcname is the part before parens, and fargs * are the part in parens. * */ Node * ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs, bool agg_star, bool agg_distinct, int precedence)
-
- 18 May, 2001 10 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Jan Wieck authored
Jan
-
Tom Lane authored
-
Bruce Momjian authored
-
Tom Lane authored
aggregate seems uniquely fragile, because it's the only one with an agginitval that's at all likely to change in format.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 17 May, 2001 14 commits
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
specification of username (like in psql). pg_dumpall now works with password authentication.
-
Peter Eisentraut authored
library extension.
-
Bruce Momjian authored
there is a brace on the line above it.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
(1.22) of interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java. That change removed a line that set the variable s to the value of the stringbuffer. This fix changes the following if checks to check the length of the stringbuffer instead of s, since s no longer contains the string the if conditions are expecting. The bug manifests itself in getTimestamp() loosing the timezone information of timestamps selected from the database, thereby causing the time to be incorrect. Barry Lind
-
Bruce Momjian authored
Here's what I came up with. The biggest difference api between JDK1.x and later versions is the support for collections. The problem was with the Vector class; in jdk1.x there is no method called add, so I changed the calls to addElement. Also no addAll, so I rewrote the method slightly to not require addAll. While reviewing this I notices some System.out.println statements that weren't commented out. So I commented them out in both versions. The upshot of all of this is that I have clean compile, but no idea if the code works ;( Dave Cramer
-
Bruce Momjian authored
-