summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2002-08-20Enable large file support.Peter Eisentraut
Use off_t and size_t in pg_dump to handle file offset arithmetic correctly.
2002-08-20This patch improves the behavior of FOUND in PL/PgSQL. In Oracle,Bruce Momjian
FOUND is set whenever a SELECT INTO returns > 0 rows, *or* when an INSERT, UPDATE, or DELETE affects > 0 rows. We implemented the first part of this behavior, but not the second. I also improved the documentation on the various situations in which FOUND can be set (excluding inside FOR loops, which I still need to think about), and added some regression tests for this behavior. Neil Conway
2002-08-20Allow pg_statistics to be reset by calling pg_stat_reset().Bruce Momjian
Christopher Kings-Lynne
2002-08-20Add current_database().Bruce Momjian
> Quick system function to pull out the current database. > > I've used this a number of times to allow stored procedures to find out > where they are. Especially useful for those that do logging or hit a > remote server. > > It's called current_database() to match with current_user(). It's also a necessity for an informational schema. The catalog (database) name is required in a number of places. Rod Taylor
2002-08-20Add mention of -F not supported by pg_dumpall. Code already disallows it.Bruce Momjian
2002-08-19Fix pg_dump to dump serial columns as serials. Per pghackers discussion,Tom Lane
cause SERIAL column declaration not to imply UNIQUE, so that this can be done without creating an extra index.
2002-08-19Fix broken tag.Tatsuo Ishii
2002-08-18Make pg_dump output more portable and more pleasing to look at.Peter Eisentraut
The -n and -N options were removed. Quoting is now smart enough to supply quotes if and only if necessary. Numerical types are now printed without quotes, except in cases of special values such as NaN. Boolean values printed as true and false. Most string literals now do not escape whitespace characters (newlines, etc.) for portability. SET SESSION AUTHORIZATION argument is a string literal, to follow SQL. Made commands output by pg_dump use consistent spacing and indentation.
2002-08-18Add db-local user names, per discussion on hackers.Bruce Momjian
2002-08-17Fix typo.Tom Lane
2002-08-17[ Newest version of patch applied.]Bruce Momjian
This patch is an updated version of the lock listing patch. I've made the following changes: - write documentation - wrap the SRF in a view called 'pg_locks': all user-level access should be done through this view - re-diff against latest CVS One thing I chose not to do is adapt the SRF to use the anonymous composite type code from Joe Conway. I'll probably do that eventually, but I'm not really convinced it's a significantly cleaner way to bootstrap SRF builtins than the method this patch uses (of course, it has other uses...) Neil Conway
2002-08-17Add libpq connection timeout parameter.Bruce Momjian
Denis A Ustimenko
2002-08-17Improve documentation of trigger firing queue handling, cleanup.Bruce Momjian
Neil Conway
2002-08-17Editorial corrections.Tom Lane
2002-08-17Broken markup.Tom Lane
2002-08-17Add missing links.Tom Lane
2002-08-17Add doc file for pg_resetxlog.Bruce Momjian
2002-08-17Move pg_controldata to /bin.Bruce Momjian
2002-08-16Modify pg_dump to dump foreign-key constraints as constraints, not asTom Lane
sets of triggers. Also modify psql \d command to show foreign key constraints as such and hide the triggers. pg_get_constraintdef() function added to backend to support these. From Rod Taylor, code review and some editorialization by Tom Lane.
2002-08-16Improve wording.Bruce Momjian
2002-08-16Move pg_controldata from /contrib to src/bin.Bruce Momjian
2002-08-16This patch improves the "Client Authentication" section of the user'sBruce Momjian
guide in a few minor ways. Neil Conway
2002-08-16This patch improves the "Database Users and Permissions" section ofBruce Momjian
the Administrator's Guide. This section needs a lot more work, but this is a start anyway... Neil Conway
2002-08-15Tom Lane wrote:Bruce Momjian
> There's no longer a separate call to heap_storage_create in that routine > --- the right place to make the test is now in the storage_create > boolean parameter being passed to heap_create. A simple change, but > it passeth patch's understanding ... Thanks. Attached is a patch against cvs tip as of 8:30 PM PST or so. Turned out that even after fixing the failed hunks, there was a new spot in bufmgr.c which needed to be fixed (related to temp relations; RelationUpdateNumberOfBlocks). But thankfully the regression test code caught it :-) Joe Conway
2002-08-15Reorder entry to be alphabetical to match others.Bruce Momjian
2002-08-15PostgreSQL 7.2.1 DocumentationBruce Momjian
Chapter 1. libpq - C Library 1.3. Command Execution Functions 1.3.3. Escaping binary strings for inclusion in SQL queries I found the line "The result string length does not include the terminating zero byte of the result." is not right. The result string length does indeed include the terminating zero byte. Christoph Haller
2002-08-15> Neil Conway <nconway@klamath.dyndns.org> writes:Bruce Momjian
> > This patch improves the documentation of the UPDATE and ALTER TABLE > > commands to elaborate on the effect of specifying an "ONLY" clause. > > Unfortunately this is still only half the truth ... see the > SQL_INHERITANCE configuration variable. Okay, I've attached an updated patch with more information on SQL_INHERITANCE and inheritance behavior in prior releases. Neil Conway
2002-08-15I'm giving a try at some TODO items. Currently it's the turn of theBruce Momjian
PGPASSWORDFILE environment variable. I have modified libpq to make use of this variable. I present the first cut here. Currently the format for the file should be host:port:database:user:password Alvaro Herrera
2002-08-14Add Cyrillic and other encodings for encoding conversion.Tatsuo Ishii
Patches submitted by Kaori Inaba (i-kaori@sra.co.jp).
2002-08-13Update for longer NAMEDATALEN.Bruce Momjian
2002-08-13Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per ↵Bruce Momjian
discussion on hackers.
2002-08-13Remove obsolete uses of lanispl. Only used in pg_dump now, but can bePeter Eisentraut
removed altogether if pg_dump doesn't need it anymore.
2002-08-12Correct description of sequence privileges.Peter Eisentraut
2002-08-12Change memory-space accounting mechanism in tuplesort.c and tuplestore.cTom Lane
to make a reasonable attempt at accounting for palloc overhead, not just the requested size of each memory chunk. Since in many scenarios this will make for a significant reduction in the amount of space acquired, partially compensate by doubling the default value of SORT_MEM to 1Mb. Per discussion in pgsql-general around 9-Jun-2002..
2002-08-11Code review of CLUSTER patch. Clean up problems with relcache gettingTom Lane
confused, toasted data getting lost, etc.
2002-08-11Create/drop cast now requires ownership of at least one of the types.Peter Eisentraut
2002-08-11Editorial improvements.Tom Lane
2002-08-10Mention ANALYZE after CLUSTER.Bruce Momjian
2002-08-10Major improvement in CLUSTER which preserves table characteristics usingBruce Momjian
relfilenode. I sent the CLUSTER patch a few days ago and I think it was missed. I append it again, this time including the regression test files. For the committer, please note that you have to cvs add the files as they don't exist. Maybe add to the parallel and serial schedules also, but I don't know such stuff. Alvaro Herrera (<alvherre[a]atentus.com>)
2002-08-10psql prints its version number in its startup message, per recentTom Lane
discussion. Also, cause the \timing command to display time in a format consistent with the backend's EXPLAIN ANALYZE output.
2002-08-10Allow schema-qualified operator names to be used in the optionalTom Lane
arguments of CREATE OPERATOR.
2002-08-10Make sure all clients have the same understanding of default user namePeter Eisentraut
and database. In particular, make script wrappers understand the PGDATABASE environment variable.
2002-08-10psql backslash commands are schema-aware. Pattern matching behaviorTom Lane
follows recent pghackers discussion. This commit includes all the relevant fixes from Greg Mullane's patch of 24-June.
2002-08-09Make sure monetary, numeric, and time locale categories are set to C andPeter Eisentraut
are only activated temporarily to read out formatting information.
2002-08-09has_table_privilege spawns scions has_database_privilege, ↵Tom Lane
has_function_privilege, has_language_privilege, has_schema_privilege to let SQL queries test all the new privilege types in 7.3. Also, add functions pg_table_is_visible, pg_type_is_visible, pg_function_is_visible, pg_operator_is_visible, pg_opclass_is_visible to test whether objects contained in schemas are visible in the current search path. Do some minor cleanup to centralize accesses to pg_database, as well.
2002-08-08Some improvements in geometric-operators documentation.Tom Lane
2002-08-08Fix bug in encoding conversion tableTatsuo Ishii
2002-08-06Add SQL99 CONVERT() function.Tatsuo Ishii
2002-08-06This patch fixes two typos in the documentation for the newly addedBruce Momjian
START TRANSACTION command. Neil Conway
2002-08-05Forgot to add/remove files.Peter Eisentraut