summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-08-05Move include for Python.h above postgres.h to eliminate compiler warning.Joe Conway
2004-08-04Use gettext_noop() to mark strings. errmsg() perform theDennis Bjorklund
real gettext() later on, so it was called twice before.
2004-08-04Label CVS tip as 8.0devel instead of 7.5devel. Adjust various commentsTom Lane
and documentation to reference 8.0 instead of 7.5.
2004-08-04Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24.Tom Lane
2004-08-04Fix silly thinko in ALTER COLUMN TYPE. Check for finding expectedTom Lane
dependency was looking at wrong columns and so would always fail. Was not exposed by regression tests because we are only testing cases involving built-in (pinned) types and so no actual dependency entry exists to be removed.
2004-08-04Update oidjoins regression test to match current catalog structure.Tom Lane
2004-08-04Tweak postmaster code to avoid double reporting when bgwriter crashes.Tom Lane
2004-08-04record_out and friends need to cope with dropped columns in the rowTom Lane
datatype. Per example from Gaetano Mendola, 2004-07-25.
2004-08-04Dump comments on columns of composite types.Tom Lane
Instead of putting all the OWNER TO commands at the end, it dumps then after each object. This is WAY more readable and nice. ACLs are still at the end. Christopher Kings-Lynne
2004-08-04Translation updatesDennis Bjorklund
2004-08-04Make use of backup label/history files to control recovery properly.Tom Lane
2004-08-04Fix typo in comment.Tom Lane
2004-08-04Add some strings for translation and remove some cut'n'pasteDennis Bjorklund
that makes it impossible to translate to other languages.
2004-08-04Fix syntax error by adding a space.Bruce Momjian
2004-08-03Add functions pg_start_backup, pg_stop_backup to create backup labelTom Lane
and history files as per recent discussion. While at it, remove pg_terminate_backend, since we have decided we do not have time during this release cycle to address the reliability concerns it creates. Split the 'Miscellaneous Functions' documentation section into 'System Information Functions' and 'System Administration Functions', which hopefully will draw the eyes of those looking for such things.
2004-08-03Fix misplacement of savepointLevel test, per report from Chris K-L.Tom Lane
2004-08-03Translation updatePeter Eisentraut
2004-08-02Fix not-quite-right Assertion. Did not work at all in extended-queryTom Lane
mode (per complaint from Kris Jurka) and it was only by chance that it didn't fail in simple-query mode. A COMMIT or ROLLBACK has to be executed by a portal, therefore it's wrong to suppose that there aren't any live portals at CleanupTransaction time.
2004-08-02Actually, there's no need to use pg_strcasecmp for checking exceptionTom Lane
names, because the name we got from the lexer is already downcased. Just store the table in lower case and use strcmp ...
2004-08-02While perusing SQL92 I realized that we are delivering the wrong SQLSTATETom Lane
error code for string-too-long errors. It should be STRING_DATA_RIGHT_TRUNCATION not STRING_DATA_LENGTH_MISMATCH. The latter probably should only be applied to cases where a string must be exactly so many bits --- there are no cases at all where it applies to character strings, only bit strings.
2004-08-02Translation updatesPeter Eisentraut
2004-08-02Translation updatePeter Eisentraut
2004-08-02Mark savepoints as supported.Bruce Momjian
2004-08-02Readd pg_config --pgxs code.Bruce Momjian
2004-08-02Support USING INDEX TABLESPACE clause for PRIMARY KEY and UNIQUETom Lane
constraints. Christopher Kings-Lynne.
2004-08-02Allow DECLARE CURSOR to take parameters from the portal in which it isTom Lane
executed. Previously, the DECLARE would succeed but subsequent FETCHes would fail since the parameter values supplied to DECLARE were not propagated to the portal created for the cursor. In support of this, add type Oids to ParamListInfo entries, which seems like a good idea anyway since code that extracts a value can double-check that it got the type of value it was expecting. Oliver Jowett, with minor editorialization by Tom Lane.
2004-08-01Update the in-code documentation about the transaction system. Move itTom Lane
into a README file instead of being in xact.c's header comment. Alvaro Herrera.
2004-08-01Cause ALTER OWNER commands to update the object's ACL, replacing referencesTom Lane
to the old owner with the new owner. This is not necessarily right, but it's sure a lot more likely to be what the user wants than doing nothing. Christopher Kings-Lynne, some rework by Tom Lane.
2004-08-01Add libpgport to postgres.def for Windows build. Per Magnus Hagander.Tom Lane
2004-08-01Translation updates (zh_TW converted to UTF-8)Peter Eisentraut
2004-08-01Error message style adjustments, per Alvaro Herrera.Tom Lane
2004-08-01Some mop-up work for savepoints (nested transactions). Store a smallTom Lane
number of active subtransaction XIDs in each backend's PGPROC entry, and use this to avoid expensive probes into pg_subtrans during TransactionIdIsInProgress. Extend EOXactCallback API to allow add-on modules to get control at subxact start/end. (This is deliberately not compatible with the former API, since any uses of that API probably need manual review anyway.) Add basic reference documentation for SAVEPOINT and related commands. Minor other cleanups to check off some of the open issues for subtransactions. Alvaro Herrera and Tom Lane.
2004-08-01Small pg_config.c cleanup.Bruce Momjian
2004-08-01Add missing file.Bruce Momjian
2004-08-01Create a C version of pg_config.Bruce Momjian
Andrew Dunstan
2004-08-01Minor adjustments for dirmod.c.Bruce Momjian
2004-08-01Add docs for initdb --auth.Bruce Momjian
2004-08-01>I got a new idea on this. I think we should add an initdb option thatBruce Momjian
>takes a string to specify the local authentication method: > > initdb --auth 'ident' > >or whatever the user wants. I think this is more flexible and more >compact. It would default to 'trust', and the packagers could >set it to >whatever they want. If their OS supports local ident, they can use >that. > >Also keep in mind you might want some ident map file: > > initdb --auth 'ident mymap' > >so you would need to allow multiple words in the string. Magnus Hagander
2004-07-31Support "OR condition ..." in plpgsql EXCEPTION clauses to make the syntaxTom Lane
more nearly Oracle-equivalent. Allow matching by category as well as specific error code. Document the set of available condition names (or more accurately, synchronize it with the existing documentation). In passing, update errcodes.sgml to include codes added during 7.5 development.
2004-07-31Be more consistent about reporting SPI errors in the various PLs.Tom Lane
Create a shared function to convert a SPI error code into a string (replacing near-duplicate code in several PLs), and use it anywhere that a SPI function call error is reported.
2004-07-31Escape backslashes from translation message rather than removing them.Bruce Momjian
2004-07-31Still another try at matching system timezone nicely. On non-WindowsTom Lane
machines, break tie scores by preferring shorter zone names over longer; for names of equal length, prefer the alphabetically first name. This yields for example 'EST5EDT' not 'America/New_York' for US eastern time. On Windows, abandon the whole concept of inspecting the detailed behavior of the system TZ library, because it doesn't bear inspection :-(. Instead use a hardwired mapping table to select our zone name based on the result of strftime %Z output. Windows code from Magnus Hagander.
2004-07-31For EXEC_BACKEND case, BootstrapMain needs to recompute paths, same asTom Lane
PostgresMain. Per Magnus Hagander.
2004-07-31Translation updatePeter Eisentraut
2004-07-31plpgsql does exceptions.Tom Lane
There are still some things that need refinement; in particular I fear that the recognized set of error condition names probably has little in common with what Oracle recognizes. But it's a start.
2004-07-31>OK, if you look at the last few commits to interfaces/libpq/win32.mak,Bruce Momjian
>you will see changes for pg_config_paths.h and for thread safety. Can >you look at those changes, merge them into bcc.mak. There might be >other changes in there you want to add to bcc.mak too. > > > OK, having no M$ diff, I attach files src\interfaces\libpq\bcc32.mak and src\interfaces\libpq\win32.h Steve Holdoway
2004-07-31Fix zh_TW.po initdb translation.Bruce Momjian
2004-07-31Restructure error handling as recently discussed. It is now reallyTom Lane
possible to trap an error inside a function rather than letting it propagate out to PostgresMain. You still have to use AbortCurrentTransaction to clean up, but at least the error handling itself will cooperate.
2004-07-30Must guard against NULL return from localtime() when probing pre-1970Tom Lane
dates. Per Magnus Hagander.
2004-07-30PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, withPeter Eisentraut
some massaging by Peter Eisentraut. This is basically a simple generalization of the existing contrib makefiles.