summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2002-09-24Make PL/pgSQL capitalization consistent.Bruce Momjian
2002-09-24Change default privileges for languages and functions to be PUBLIC USAGETom Lane
and PUBLIC EXECUTE, respectively. Per discussion about easing updates from prior versions.
2002-09-24Update some obsolete comments and column descriptions.Tom Lane
2002-09-24Tweak conversion names to follow the established naming scheme, andPeter Eisentraut
document that scheme.
2002-09-23Fix broken markup.Tom Lane
2002-09-23Move PyGreSQL usage documentation from README into DocBook. Some otherPeter Eisentraut
editing.
2002-09-23The valid return value should be MODIFY instead of MODIFIED.Bruce Momjian
The error message said so :-) In 25.3. Using PL/Python If the trigger "when" is BEFORE, you may return None or "OK" from the Python function to indicate the tuple is unmodified, "SKIP" to abort the event, or "MODIFIED" to indicate you've modified the tuple. should read If the trigger "when" is BEFORE, you may return None or "OK" from the Python function to indicate the tuple is unmodified, "SKIP" to abort the event, or "MODIFY" to indicate you've modified the tuple. elein
2002-09-22Make \dS work more like it used to, viz, show only system objects.Tom Lane
2002-09-22Replace pg_attribute.attisinherited with attislocal and attinhcountTom Lane
columns, to allow more correct behavior in multiple-inheritance cases. Patch by Alvaro Herrera, review by Tom Lane.
2002-09-22Fix busted markup.Tom Lane
2002-09-22Bring SIMILAR TO and SUBSTRING into some semblance of conformance withTom Lane
the SQL99 standard. (I'm not sure that the character-class features are quite right, but that can be fixed later.) Document SQL99 and POSIX regexps as being different features; provide variants of SUBSTRING for each.
2002-09-21Provide an upgrade strategy for dump files containing functions declaredTom Lane
with OPAQUE. CREATE LANGUAGE, CREATE TRIGGER, and CREATE TYPE will all accept references to functions declared with OPAQUE --- but they will issue a NOTICE, and will modify the function entries in pg_proc to have the preferred type-safe argument or result types instead of OPAQUE. Per recent pghackers discussions.
2002-09-21Add more appropriate markup.Peter Eisentraut
2002-09-20RevisionPeter Eisentraut
2002-09-20Mention that pg_get_viewdef(name) is deprecated.Bruce Momjian
Rod Taylor
2002-09-20This patch corrects a minor mis-statement in the CREATE DOMAIN docs,Bruce Momjian
pointed out by Chris KL on -hackers a little while ago -- NOT NULL != CHECK xxx IS NOT NULL. Neil Conway
2002-09-18Extend pg_cast castimplicit column to a three-way value; this allows usTom Lane
to be flexible about assignment casts without introducing ambiguity in operator/function resolution. Introduce a well-defined promotion hierarchy for numeric datatypes (int2->int4->int8->numeric->float4->float8). Change make_const to initially label numeric literals as int4, int8, or numeric (never float8 anymore). Explicitly mark Func and RelabelType nodes to indicate whether they came from a function call, explicit cast, or implicit cast; use this to do reverse-listing more accurately and without so many heuristics. Explicit casts to char, varchar, bit, varbit will truncate or pad without raising an error (the pre-7.2 behavior), while assigning to a column without any explicit cast will still raise an error for wrong-length data like 7.3. This more nearly follows the SQL spec than 7.2 behavior (we should be reporting a 'completion condition' in the explicit-cast cases, but we have no mechanism for that, so just do silent truncation). Fix some problems with enforcement of typmod for array elements; it didn't work at all in 'UPDATE ... SET array[n] = foo', for example. Provide a generalized array_length_coerce() function to replace the specialized per-array-type functions that used to be needed (and were missing for NUMERIC as well as all the datetime types). Add missing conversions int8<->float4, text<->numeric, oid<->int8. initdb forced.
2002-09-18Update installation instructions and put mostly everything in one place.Peter Eisentraut
Also, some editing in PL/Perl and PL/Python chapters.
2002-09-18Remove pgeasy and odbc.Peter Eisentraut
2002-09-17Point out that CREATE INDEX uses sorts and hence sort_mem GUC parameter.Bruce Momjian
2002-09-15Cast functions can be immutable or stable.Peter Eisentraut
2002-09-14Some PL/PgSQL documentation improvements from Neil Conway.Tom Lane
2002-09-14Shrink the pg_hba.conf and pg_ident.conf default files and move most of thePeter Eisentraut
inline documentation to the main docs.
2002-09-12Add more information about schemas. Combines some previously existingPeter Eisentraut
material into the new location.
2002-09-12Joe Conway wrote:Bruce Momjian
> Hannu Krosing wrote: > >> It seems that my last mail on this did not get through to the list >> ;( >> >> Please consider renaming the new builtin function >> split(text,text,int) >> >> to something else, perhaps >> >> split_part(text,text,int) >> >> (like date_part) >> >> The reason for this request is that 3 most popular scripting >> languages (perl, python, php) all have also a function with similar >> signature, but returning an array instead of single element and the >> (optional) third argument is limit (maximum number of splits to >> perform) >> >> I think that it would be good to have similar function in (some >> future release of) postgres, but if we now let in a function with >> same name and arguments but returning a single string instead an >> array of them, then we will need to invent a new and not so easy to >> recognise name for the "real" split function. >> > > This is a good point, and I'm not opposed to changing the name, but > it is too bad your original email didn't get through before beta1 was > rolled. The change would now require an initdb, which I know we were > trying to avoid once beta started (although we could change it > without *requiring* an initdb I suppose). > > I guess if we do end up needing an initdb for other reasons, we > should make this change too. Any other opinions? Is split_part an > acceptable name? > > Also, if we add a todo to produce a "real" split function that > returns an array, similar to those languages, I'll take it for 7.4. No one commented on the choice of name, so the attached patch changes the name of split(text,text,int) to split_part(text,text,int) per Hannu's recommendation above. This can be applied without an initdb if current beta testers are advised to run: update pg_proc set proname = 'split_part' where proname = 'split'; in the case they want to use this function. Regression and doc fix is also included in the patch. Joe Conway
2002-09-11Fix atan() description.Bruce Momjian
Bruno Wolff III
2002-09-08Remove more references to pgaccess as a build target in docs.Bruce Momjian
2002-09-07Changes to documentation and the regression tests for the defaultBruce Momjian
NAMEDATALEN of 64. Kris Jurka
2002-09-07Remove pgaccess from docs; not shipping it anymore.Bruce Momjian
2002-09-07Allow pg_dumpall to work with previous releases again. Don't pass the -cPeter Eisentraut
option down to pg_dump, where it's useless, and clarify the meaning of -c in the documentation.
2002-09-06Make sure the pg_dump tar archiver can handle members larger than 2 GB, butPeter Eisentraut
does not create members larger than allowed by the tar format. Also, fix the generation of the tar header to conform to POSIX.
2002-09-06Fix another typo.Bruce Momjian
2002-09-06Fix typo.Bruce Momjian
2002-09-05Missed mention of PGPASSWORDFILE.Bruce Momjian
2002-09-05Remove PGPASSWORDFILE and default to always trying $HOME/.pgpass.Bruce Momjian
Cleanup up memory allocation for $HOME in related psql places. Update mention of $HOME/.pgpass in the docs; add mention in pg_dumpall.
2002-09-05Fill in section on table modification.Peter Eisentraut
2002-09-04Brand 7.3. Ready for beta!Bruce Momjian
2002-09-04Update new HISTORY file for 7.3!Bruce Momjian
2002-09-03Arrange for the default permissions on a database to allow temp tableTom Lane
creation to world, but disallow temp table creation in template1. Per latest round of pghackers discussion. I did not force initdb, but the permissions lockdown on template1 will not take effect unless you do one (or manually REVOKE TEMP ON DATABASE template1 FROM public).
2002-09-03Fix SGML build failure.Bruce Momjian
2002-09-03Documentation improvements.Tom Lane
2002-09-03Code review and documentation updates for indisclustered patch.Tom Lane
2002-09-02pg_on_connection_loss command for libpgtcl. Patch fromTom Lane
Gerhard Hintermayer, revised and documented by Tom Lane. This patch also fixes a 'must fix' bug: libpgtcl's LISTEN/NOTIFY support was broken by the recent changes to the PGnotify structure. Guess that change wasn't quite so safe as we thought.
2002-09-02Fix obsolete description of PGnotify struct.Tom Lane
2002-09-02Department of second thoughts: make checks for replacing a view slightlyTom Lane
more flexible, and improve the error reporting. Also, add documentation for REPLACE RULE/VIEW.
2002-09-02Fix broken markup.Tom Lane
2002-09-02This patch fixes a minor inaccuracy in the documentation: NOT NULL isBruce Momjian
not synonymous with CHECK (xxx IS NOT NULL) -- for example, consider ALTER TABLE ADD PRIMARY KEY, which checks for 'NOT NULL', not a check constraint. Neil Conway
2002-09-02I checked all the previous string handling errors and most of them wereBruce Momjian
already fixed by You. However there were a few left and attached patch should fix the rest of them. I used StringInfo only in 2 places and both of them are inside debug ifdefs. Only performance penalty will come from using strlen() like all the other code does. I also modified some of the already patched parts by changing snprintf(buf, 2 * BUFSIZE, ... style lines to snprintf(buf, sizeof(buf), ... where buf is an array. Jukka Holappa
2002-09-02Here's a doc patch for the new string functions recently committed --Bruce Momjian
replace, split, and to_hex. The patch also moves encode and decode into alphabetical order (since everything else in the table was). Joe Conway
2002-09-02Move pg_settings doc into the right section.Bruce Momjian