aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add defense in assign_session_authorization() against trying to doTom Lane2003-06-06
| | | | | | catalog lookups when not in a transaction. This prevents bizarre failures if someone tries to set a value for session_authorization in postgresql.conf. Per report from Fernando Nasser.
* Implement outer-level aggregates to conform to the SQL spec, withTom Lane2003-06-06
| | | | | | | | extensions to support our historical behavior. An aggregate belongs to the closest query level of any of the variables in its argument, or the current query level if there are no variables (e.g., COUNT(*)). The implementation involves adding an agglevelsup field to Aggref, and treating outer aggregates like outer variables at planning time.
* Information schema views about functionsPeter Eisentraut2003-06-05
|
* Support for Intel compiler on LinuxPeter Eisentraut2003-06-05
|
* Make the world at least marginally safe for usernames with embedded spaces.Tom Lane2003-06-02
| | | | Per recent gripe.
* In src/include/mb/pg_wchar.h we have:Bruce Momjian2003-06-02
| | | | | | | | | | | | | | | | | | | | | | #define PG_ENCODING_BE_LAST PG_ISO_8859_8 #define PG_ENCODING_FE_LAST PG_WIN1256 but the last client encoding in the enum list is actually PG_GB18030 and it seems that #define PG_ENCODING_IS_CLIEN_ONLY(_enc) \ (((_enc) > PG_ENCODING_BE_LAST && (_enc) <= PG_ENCODING_FE_LAST) can never be true. I think the define should read #define PG_ENCODING_FE_LAST PG_GB18030 On the other hand, perhaps no-one cares, because PG_ENCODING_IS_CLIEN_ONLY is never used. -- Oliver Elphick Oliver.Elphick@lfix.co.uk
* Fixed segfault in forward definition parsing.Michael Meskes2003-06-02
|
* markTargetListOrigin neglected to handle outer-scope Vars properly;Tom Lane2003-05-31
| | | | per report from Joe Conway.
* Cause pg_dumpall to support the -a, -s, -x options of pg_dump.Tom Lane2003-05-30
|
* Cause pg_dumpall to include GRANT/REVOKE for database-level permissionsTom Lane2003-05-30
| | | | in its output. Make it work with server versions back to 7.0, too.
* Small performance improvement for hash joins and hash aggregation:Tom Lane2003-05-30
| | | | | | | when the plan is ReScanned, we don't have to rebuild the hash table if there is no parameter change for its child node. This idea has been used for a long time in Sort and Material nodes, but was not in the hash code till now.
* Create a real prototype function for describe.Michael Meskes2003-05-30
|
* Sync and some minor cleanup/fixing work plus an EXEC SQL DESCRIBE prototype.Michael Meskes2003-05-30
|
* Ensure that in all flex lexers that are part of the backend, aTom Lane2003-05-29
| | | | | | | yy_fatal_error() call results in elog(ERROR) not exit(). This was already fixed in the main lexer and plpgsql, but extend same technique to all the other dot-l files. Also, on review of the possible calls to yy_fatal_error(), it seems safe to use elog(ERROR) not elog(FATAL).
* one more change to correctly support the removeall of autocommitBarry Lind2003-05-29
|
* Adopt latest bison's spelling of 'syntax error' rather than 'parse error'Tom Lane2003-05-29
| | | | | for grammar-detected problems. Revert Makefile hack that kept it looking like the pre-bison-1.875 output.
* Don't explicitly close() the session socket during backend exit; insteadTom Lane2003-05-29
| | | | | | leave it for the kernel to do after the process dies. This allows clients to wait for the backend to exit if they wish (after sending X message, wait till EOF is detected on the socket).
* AFAICT, none of our shared libraries are anywhere near big enough toTom Lane2003-05-29
| | | | need -fPIC on HPPA. Reduce to -fpic.
* Changed variable parsing so struct[n].attr works.Michael Meskes2003-05-29
|
* Parse forward definiton of structs.Michael Meskes2003-05-29
|
* Applied patch from Fernando Nasser to fix up small type errorBarry Lind2003-05-29
|
* Applied patch from Fernando Nasser to improve buffer sizes to avoid ↵Barry Lind2003-05-29
| | | | unnecessary resizing.
* clean up warnings produced by EclipseBarry Lind2003-05-29
|
* Adding .cvsignore files for Eclipse IDEBarry Lind2003-05-29
|
* Up the build number to reflect the changes for V3 protocol supportBarry Lind2003-05-29
|
* Initial attempt to integrate in V3 protocol support. This is still a work inBarry Lind2003-05-29
| | | | | | | | | | | | | | | | | | | | | | progress, although all RTs pass using the V3 protocol on a 7.4 database and also pass using the V2 protocol on a 7.3 database. SSL support is known not to work. Modified Files: jdbc/org/postgresql/PGConnection.java jdbc/org/postgresql/errors.properties jdbc/org/postgresql/core/BaseConnection.java jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/core/Field.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/core/StartupPacket.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/fastpath/FastpathArg.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/test/jdbc2/BlobTest.java jdbc/org/postgresql/test/jdbc2/CallableStmtTest.java jdbc/org/postgresql/test/jdbc2/MiscTest.java jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
* Add a regression test to catch future silliness in the index-buildingTom Lane2003-05-29
| | | | area...
* Fix stupid oversight :-(Tom Lane2003-05-29
|
* Knock down a couple more lappend() hotspots for large WHERE clauses.Tom Lane2003-05-28
|
* Fix some planner performance problems with large WHERE clauses, byTom Lane2003-05-28
| | | | | | | introducing new 'FastList' list-construction subroutines to use in hot spots. This avoids the O(N^2) behavior of repeated lappend's by keeping a tail pointer, while not changing behavior by reversing list order as the lcons() method would do.
* Fix breakage of LINUX_PROFILE code due to recent Windows changes.Tom Lane2003-05-28
|
* Fix things so that an error occuring during standalone-backend processingTom Lane2003-05-28
| | | | | in initdb will result in exit(1), allowing the initdb script to realize that there's something wrong.
* In bootstrap and standalone-backend modes, do not sort LOG elevel outTom Lane2003-05-28
| | | | | | | | of order; the 'server log' output is actually client output in these scenarios and we ought to treat elevels the same way as in the client case. This allows initdb to not send backend stderr to /dev/null anymore, which makes it much more likely that people will notice problems during initdb.
* Replace functional-index facility with expressional indexes. Any columnTom Lane2003-05-28
| | | | | | | | | | | of an index can now be a computed expression instead of a simple variable. Restrictions on expressions are the same as for predicates (only immutable functions, no sub-selects). This fixes problems recently introduced with inlining SQL functions, because the inlining transformation is applied to both expression trees so the planner can still match them up. Along the way, improve efficiency of handling index predicates (both predicates and index expressions are now cached by the relcache) and fix 7.3 oversight that didn't record dependencies of predicate expressions.
* Internationalize interactive yes/no responses.Peter Eisentraut2003-05-27
|
* Make log_ GUC settings controllable only by super-users, so non-superBruce Momjian2003-05-27
| | | | users can't turn it off.
* Make debug_ GUC varables output DEBUG1 rather than LOG, and mention inBruce Momjian2003-05-27
| | | | | docs that CLIENT/LOG_MIN_MESSAGES now controls debug_* output location. Doc changes included.
* Add configure thread tests.Bruce Momjian2003-05-27
|
* Allow input from stdin and output to stdout.Michael Meskes2003-05-27
|
* Fixed incorrect output for some structs.Michael Meskes2003-05-27
|
* Adjust error-handling logic in libpq. For the first time, libpq copesTom Lane2003-05-26
| | | | sanely with running out of memory for a query result.
* Make sure printtup() always sends the number of columns previouslyTom Lane2003-05-26
| | | | | | | | advertised in RowDescription message. Depending on the physical tuple's column count is not really correct, since according to heap_getattr() conventions the tuple may be short some columns, which will automatically get read as nulls. Problem has been latent since forever, but was only exposed by recent change to skip a projection step in SELECT * FROM...
* Remove comment that cbrt() isn't being used.Bruce Momjian2003-05-26
|
* Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailingTom Lane2003-05-26
| | | | | | | | | | | | | | | | | | blanks, in hopes of reducing the surprise factor for newbies. Remove redundant operators for VARCHAR (it depends wholly on TEXT operations now). Clean up resolution of ambiguous operators/functions to avoid surprising choices for domains: domains are treated as equivalent to their base types and binary-coercibility is no longer considered a preference item when choosing among multiple operators/functions. IsBinaryCoercible now correctly reflects the notion that you need *only* relabel the type to get from type A to type B: that is, a domain is binary-coercible to its base type, but not vice versa. Various marginal cleanup, including merging the essentially duplicate resolution code in parse_func.c and parse_oper.c. Improve opr_sanity regression test to understand about binary compatibility (using pg_cast), and fix a couple of small errors in the catalogs revealed thereby. Restructure "special operator" handling to fetch operators via index opclasses rather than hardwiring assumptions about names (cleans up the pattern_ops stuff a little).
* Information schema improvementsPeter Eisentraut2003-05-25
|
* Clean up our static cbrt() implementation in float.c.Bruce Momjian2003-05-25
|
* Improve implementation of btrim/ltrim/rtrim: provide a special case forTom Lane2003-05-23
| | | | | | | single-byte encodings, and a direct C implementation of the single-argument forms (where spaces are always what gets trimmed). This is in preparation for using rtrim1() as the bpchar-to-text cast operator, but is a useful performance improvement even if we decide not to do that.
* Forgot these.Michael Meskes2003-05-23
|
* ecpg now accepts array elements as arguments.Michael Meskes2003-05-23
|
* Seems pl_funcs didn't have support for plpgsql PERFORM statement.Tom Lane2003-05-23
|