aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Missed one rule in syncinc preproc.y which resulted in reduce/reduce conflicts.Michael Meskes2003-07-14
|
* - Synced preproc.y with gram.yMichael Meskes2003-07-14
| | | | | - Init sqlca in ECPGprepare(). - Added CLOSE DATABASE for Informix compatibility.
* Add description for new GUC context.Bruce Momjian2003-07-09
| | | | Aizaz Ahmed
* Argh! Missed one file.Michael Meskes2003-07-09
|
* Fixed some Informix compat functions so they handle NULL resp. indicators ↵Michael Meskes2003-07-09
| | | | better.
* Add special checks for non-super-user setting LOG_MIN_DURATION_STATEMENTBruce Momjian2003-07-09
| | | | to zero.
* Add new USERLIMIT GUC source level so certain options can be disabledBruce Momjian2003-07-09
| | | | | | | or increased only by super-users. This fixes problems caused by making certain variables SUSET for security reasons.
* Applied patch from Kim Ho @ redhat.com to make support for setObject() moreBarry Lind2003-07-09
| | | | | | | | spec complient with regards to various data/time/timestamp objects Modified Files: jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* More informix fixes.Michael Meskes2003-07-08
|
* Fix segfault in connect in informix mode.Michael Meskes2003-07-08
|
* "char *" of course is not the same as "char []". So I had to fix the way ↵Michael Meskes2003-07-07
| | | | ecpg treated the second one.
* tm2timestamp should return -1, not elog, on overflow. (In the backendTom Lane2003-07-04
| | | | | this is merely an API inconsistency, but in ecpg it's fatal.) Also, fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.
* Fix missing code for HAVE_INT64_TIMESTAMP.Tom Lane2003-07-04
|
* Add --help-config facility to dump information about GUC parametersTom Lane2003-07-04
| | | | | | without needing a running backend. Reorder postgresql.conf.sample to match new layout of runtime.sgml. This commit re-adds work lost in Wednesday's crash.
* Add #include <limits.h> (re-add lost change from Wednesday).Tom Lane2003-07-04
|
* date, interval and timestamp data should be quoted.Michael Meskes2003-07-04
|
* Fixed informix behaviour for select without into.Michael Meskes2003-07-04
|
* Some early work on error message editing. Operator-not-found andTom Lane2003-07-04
| | | | | function-not-found messages now distinguish the cases no-match and ambiguous-match, and they follow the style guidelines too.
* Fix bug I introduced in recent rewrite of NUMERIC code: numeric toTom Lane2003-07-03
| | | | | integer conversions gave the wrong answer for values with stripped trailing zeroes, such as 10000000.
* Do honest transformation and preprocessing of LIMIT/OFFSET clauses,Tom Lane2003-07-03
| | | | | | | | instead of the former kluge whereby gram.y emitted already-transformed expressions. This is needed so that Params appearing in these clauses actually work correctly. I suppose some might claim that the side effect of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is a bug fix.
* Code review for UPDATE tab SET col = DEFAULT patch ... whack it aroundTom Lane2003-07-03
| | | | so it has some chance of working in rules ...
* Fixed initialization bug and added postgres_fe.h to pgtypeslib.Michael Meskes2003-07-02
|
* Support polymorphic functions in plpgsql. Along the way, replaceTom Lane2003-07-01
| | | | | linked-list search of function cache with hash-table lookup. By Joe Conway.
* Fix ecpg typo --- change ;; to ;.Bruce Momjian2003-07-01
|
* Aggregates can be polymorphic, using polymorphic implementation functions.Tom Lane2003-07-01
| | | | | | It also works to create a non-polymorphic aggregate from polymorphic functions, should you want to do that. Regression test added, docs still lacking. By Joe Conway, with some kibitzing from Tom Lane.
* Dept. of second thoughts: supporting inlining of polymorphic SQL functionsTom Lane2003-07-01
| | | | | takes only a few more lines of code than preventing it, so might as well support it.
* STRENGH => STRENGTH, per Jon Jensen.Tom Lane2003-07-01
|
* Use ISO dates in pgtypeslib by default.Michael Meskes2003-07-01
| | | | | | | Applied patch by Philip Yarra to fix some thread issues. Added a new data type "decimal" which is mostly the same as our "numeric" but uses a fixed length array to store the digits. This is for compatibility with Informix and maybe others.
* Department of second thoughts: even if we can't run the full parser onTom Lane2003-07-01
| | | | | a SQL function with polymorphic inputs, we can at least run the raw parser to catch silly syntactic errors.
* Translation updatePeter Eisentraut2003-07-01
|
* SQL functions can have arguments and results declared ANYARRAY orTom Lane2003-07-01
| | | | | | | | ANYELEMENT. The effect is to postpone typechecking of the function body until runtime. Documentation is still lacking. Original patch by Joe Conway, modified to postpone type checking by Tom Lane.
* Change EXECUTE INTO to CREATE TABLE AS EXECUTE.Peter Eisentraut2003-07-01
|
* patches by Kim Ho to fixDave Cramer2003-06-30
| | | | | | getByte, getSort if input has decimal or whitespace setObject if object is a BIT boolean not on list of SQLKeywords
* Rename plpython to plpythonu, and update documentation to reflect itsTom Lane2003-06-30
| | | | now-untrusted status.
* Add GUC option log_error_verbosity to control which fields of errorTom Lane2003-06-30
| | | | | | reports get put into the postmaster log. Options are TERSE, DEFAULT, VERBOSE, with the same behavior as implemented on the client side in libpq.
* Patches applied:Barry Lind2003-06-30
| | | | | | | | | | | | | | | 1) Patch from Kris Jurka to fix IPv6 parsing of the jdbc URL 2) Patch from Kris Jurka to fix an ArrayIndexOutOfBounds error when calling moveToCurrentRow while currentRow is "beforeFirst" 3) Patch from Kim Ho to fix add some bounds checking in setMaxRows(), setQueryTimeout(), setFetchSize() Modified Files: jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
* Restructure building of join relation targetlists so that a join planTom Lane2003-06-29
| | | | | | | | | | | | | | node emits only those vars that are actually needed above it in the plan tree. (There were comments in the code suggesting that this was done at some point in the dim past, but for a long time we have just made join nodes emit everything that either input emitted.) Aside from being marginally more efficient, this fixes the problem noted by Peter Eisentraut where a join above an IN-implemented-as-join might fail, because the subplan targetlist constructed in the latter case didn't meet the expectation of including everything. Along the way, fix some places that were O(N^2) in the targetlist length. This is not all the trouble spots for wide queries by any means, but it's a step forward.
* - Made sure Informix style decimal vars are initialized. They use aMichael Meskes2003-06-29
| | | | | | | fixed amount of digits and not an allocated one. So we have to work around. PostgreSQL numeric type remains the same. - In INFORMIX_SE mode with autcommit set, make all cursors be "with hold". Is this really they way SE behaves?
* Information schema views for group privileges, some corrections on columnPeter Eisentraut2003-06-29
| | | | privileges.
* It was comparing the wrong pair of columns, which triggered the previouslyPeter Eisentraut2003-06-29
| | | | mentioned bug.
* Add missing PO files from last commit.Peter Eisentraut2003-06-29
|
* Just another sync.Michael Meskes2003-06-29
|
* Support expressions of the form 'scalar op ANY (array)' andTom Lane2003-06-29
| | | | | | | | | | 'scalar op ALL (array)', where the operator is applied between the lefthand scalar and each element of the array. The operator must yield boolean; the result of the construct is the OR or AND of the per-element results, respectively. Original coding by Joe Conway, after an idea of Peter's. Rewritten by Tom to keep the implementation strictly separate from subqueries.
* Merge PO file updates from 7.3 branch.Peter Eisentraut2003-06-28
|
* Make information schema aware of arrays.Peter Eisentraut2003-06-28
| | | | | The view element_types is currently not functional, awaiting some fixes in the planner (reported on -hackers).
* Update psql for some features of new FE/BE protocol. There is aTom Lane2003-06-28
| | | | | | | | | | | client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports SQL-spec commit behavior. Get rid of LO_TRANSACTION hack --- the LO operations just work now, using libpq's ability to track the transaction status. Add a VERBOSE variable to control verboseness of error message display, and add a %T prompt-string code to show current transaction-block status. Superuser state display in the prompt string correctly follows SET SESSION AUTHORIZATION commands. Control-C works to get out of COPY IN state.
* When using new protocol, PQexec can get out of a COPY IN or COPY OUTTom Lane2003-06-28
| | | | state by itself, so do so.
* Adjust pgtest grep.Bruce Momjian2003-06-27
|
* Update pgtest to use 'gmake check'.Bruce Momjian2003-06-27
|
* Add is_superuser parameter reporting, soon to be used by psql.Tom Lane2003-06-27
|