OSDN Git Service

pg-rex/syncrep.git
20 years agoExplicitely mention that some GUC variables cannot be changed at
Neil Conway [Sun, 7 Mar 2004 01:02:55 +0000 (01:02 +0000)]
Explicitely mention that some GUC variables cannot be changed at
runtime.

20 years agoEditorialization of some text discussing 'IS NULL' vs. '= NULL'.
Neil Conway [Sun, 7 Mar 2004 01:01:44 +0000 (01:01 +0000)]
Editorialization of some text discussing 'IS NULL' vs. '= NULL'.

20 years agoUse lynx -stdin and regenerate HISTORY
Bruce Momjian [Sat, 6 Mar 2004 02:52:46 +0000 (02:52 +0000)]
Use lynx -stdin and regenerate HISTORY

20 years agoImprove documentation of virtual_host parameter: old text failed to
Tom Lane [Fri, 5 Mar 2004 23:16:17 +0000 (23:16 +0000)]
Improve documentation of virtual_host parameter: old text failed to
indicate that you could specify multiple listen addresses.

20 years agoHave makefile reference /xml2.
Bruce Momjian [Fri, 5 Mar 2004 20:01:46 +0000 (20:01 +0000)]
Have makefile reference /xml2.

20 years agoFirst update of release notes for 7.4.2. Still needs work.
Bruce Momjian [Fri, 5 Mar 2004 19:51:56 +0000 (19:51 +0000)]
First update of release notes for 7.4.2.  Still needs work.

20 years agoOops, '-' doesn't work for my lynx either.
Bruce Momjian [Fri, 5 Mar 2004 19:50:55 +0000 (19:50 +0000)]
Oops, '-' doesn't work for my lynx either.

Change back to /dev/stdin, even though it isn't portable.  Let's wait for
someone to complain they don't have /dev/stdin.

20 years agoUse '-' for stdin on lynx, my lynx version doesn't support -stdin.
Bruce Momjian [Fri, 5 Mar 2004 19:48:03 +0000 (19:48 +0000)]
Use '-' for stdin on lynx, my lynx version doesn't support -stdin.

20 years agoUpdate Polish FAQ, from Marcin Mazurek.
Bruce Momjian [Fri, 5 Mar 2004 19:29:23 +0000 (19:29 +0000)]
Update Polish FAQ, from Marcin Mazurek.

20 years agoAdd xml2 as skipped /contrib Makefile entry.
Bruce Momjian [Fri, 5 Mar 2004 05:15:16 +0000 (05:15 +0000)]
Add xml2 as skipped /contrib Makefile entry.

20 years agoAdd mention xml2 is a newer version.
Bruce Momjian [Fri, 5 Mar 2004 04:13:15 +0000 (04:13 +0000)]
Add mention xml2 is a newer version.

20 years agoAdd missing xml files.
Bruce Momjian [Fri, 5 Mar 2004 04:10:11 +0000 (04:10 +0000)]
Add missing xml files.

20 years agoMove new version of contrib/ xml into xml2, keep old version in /xml.
Bruce Momjian [Fri, 5 Mar 2004 03:57:58 +0000 (03:57 +0000)]
Move new version of contrib/ xml into xml2, keep old version in /xml.

20 years agoThanks to the generous support of Torchbox (http://www.torchbox.com), I
Bruce Momjian [Fri, 5 Mar 2004 03:24:50 +0000 (03:24 +0000)]
Thanks to the generous support of Torchbox (torchbox.com), I
have been able to significantly improve the contrib/xml XPath
integration code.

New features:

* XPath set-returning function allows multiple results from an several
XPath queries to be used as a virtual table.
* Using libxslt, XSLT transformations (with and without parameters) are
supported. (Caution: This support allows generic URL fetching from
within the backend as well).

I've removed the old code so that it is all libxml based. Rather than
attach as a patch, I've put the tar.gz (10k!) at
http://www.azuli.co.uk/pgxml-1.0.tar.gz
(all files in archive are xml/....).

I think this is worth replacing the contrib version with, even though
the function names have changed (though the same functionality is
there), because it includes a SRF and some SPI usage, in addition to
linking to an external library. And it isn't a big module! Obviously, I
understand that people might prefer to move it elsewhere, or might have
reservations about replacing an existing contrib module with an
incompatible one. I'm open to suggestions.

John Gray

20 years agoPer a brief conversation with Tom, I've created a patch for adding
Bruce Momjian [Fri, 5 Mar 2004 02:41:14 +0000 (02:41 +0000)]
Per a brief conversation with Tom, I've created a patch for adding
support for 'week' within the date_trunc function.

Within the patch I added a couple of test cases and associated target
output, and changed the documentation to add 'week' appropriately.

Robert Creager

20 years agolibpq's query to get the OIDs of large-object support functions was not
Tom Lane [Fri, 5 Mar 2004 01:53:59 +0000 (01:53 +0000)]
libpq's query to get the OIDs of large-object support functions was not
schema-safe.  Make it so, and improve the internal support for knowledge
of server version.

20 years agoWin32:
Bruce Momjian [Fri, 5 Mar 2004 01:11:04 +0000 (01:11 +0000)]
Win32:

* Mostly, casting etc to remove compilation warnings in win32 only code.

* main.c: set _IONBF to stdout/stderr under win32 (under win32, _IOLBF
defaults to full buffering)

* pg_resetxlog/Makefile: ensures dirmod.o gets cleaned (got bitten by
this when, after "make clean"ing, switching compilation between Ming +
Cygwin)

Claudio Natoli

20 years agoFix for underscore in ID sgml markup.
Bruce Momjian [Fri, 5 Mar 2004 01:00:45 +0000 (01:00 +0000)]
Fix for underscore in ID sgml markup.

20 years agoAdd new SPI functions for use by PL/Java:
Bruce Momjian [Fri, 5 Mar 2004 00:47:01 +0000 (00:47 +0000)]
Add new SPI functions for use by PL/Java:

+extern Oid SPI_getargtypeid(void *plan, int argIndex);
+extern int SPI_getargcount(void *plan);
+extern bool SPI_is_cursor_plan(void *plan);

Thomas Hallgren

20 years agoFix log_executor_stats for non-multi queries. Backpatch to 7.4.X.
Bruce Momjian [Fri, 5 Mar 2004 00:21:41 +0000 (00:21 +0000)]
Fix log_executor_stats for non-multi queries.  Backpatch to 7.4.X.

20 years agoEmit a warning when an empty string is input to the oid, float4, and
Neil Conway [Thu, 4 Mar 2004 21:47:18 +0000 (21:47 +0000)]
Emit a warning when an empty string is input to the oid, float4, and
float8 types. This begins the deprecation of this feature: in 7.6,
this input will be rejected.

Also added a new error code for warnings about deprecated features,
and updated the regression tests.

20 years agoThe trim function doc did not say that the second argument could be
Dennis Bjorklund [Thu, 4 Mar 2004 20:09:29 +0000 (20:09 +0000)]
The trim function doc did not say that the second argument could be
be omitted. This patch fixes that. It also fixes a bug where the
type text was not wrapped as <type>text</type>.

20 years agoBetter document INSTEAD behavior for rules.
Bruce Momjian [Thu, 4 Mar 2004 14:32:12 +0000 (14:32 +0000)]
Better document INSTEAD behavior for rules.

20 years ago- Fixed segfault due to missing check for variable declaration.
Michael Meskes [Thu, 4 Mar 2004 07:32:02 +0000 (07:32 +0000)]
- Fixed segfault due to missing check for variable declaration.
- Added check for multidimensional array usage.

20 years agoAdd a few more cross-references where appropriate, add more text about
Neil Conway [Wed, 3 Mar 2004 22:22:24 +0000 (22:22 +0000)]
Add a few more cross-references where appropriate, add more text about
the FROM clause and an example to the UPDATE reference page, and make
a few other SGML tweaks.

20 years agoModify pg_dump so that the preferred dump order is by name within
Tom Lane [Wed, 3 Mar 2004 21:28:55 +0000 (21:28 +0000)]
Modify pg_dump so that the preferred dump order is by name within
object types, rather than by OID.  This should help ensure consistent
dump output from databases that are logically the same but have different
histories, per recent discussion about 'diffing' databases.  The patch
is bulky because of renaming of fields, but not very complicated.
Also, do some tweaking to cause BLOB restoration to be done in a better
order, and clean up pg_restore's textual output to exactly match pg_dump.

20 years agoFix wording of new bison warning, per Peter.
Bruce Momjian [Wed, 3 Mar 2004 17:37:22 +0000 (17:37 +0000)]
Fix wording of new bison warning, per Peter.

20 years agoRemove Jan:
Bruce Momjian [Wed, 3 Mar 2004 14:26:48 +0000 (14:26 +0000)]
Remove Jan:

<  o Add PL/PHP (Joe, Jan)
>  o Add PL/PHP (Joe)

20 years agoSeems the usage message for oid2name calls it pg_oid2name. Fixed.
Bruce Momjian [Wed, 3 Mar 2004 14:24:12 +0000 (14:24 +0000)]
Seems the usage message for oid2name calls it pg_oid2name.  Fixed.

20 years agoAdd:
Bruce Momjian [Wed, 3 Mar 2004 05:16:53 +0000 (05:16 +0000)]
Add:

>  o Add way to remove cluster specification on a table

20 years agoAdds the -W flag to the pwd call under Win32. This allows directories,
Bruce Momjian [Wed, 3 Mar 2004 04:22:47 +0000 (04:22 +0000)]
Adds the -W flag to the pwd call under Win32. This allows directories,
which are munged by sed, such as:
/e/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data to be
correctly passed as:
e:/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data

FWIW, "fixes" a large (> 20) tests under Win32.

Claudio Natoli

20 years agoRemove useless rebuilding of subPlan list during ExecInitNode. Wouldn't
Tom Lane [Tue, 2 Mar 2004 22:17:34 +0000 (22:17 +0000)]
Remove useless rebuilding of subPlan list during ExecInitNode.  Wouldn't
have been there to start with, except for overly enthusiastic copy-and-
paste ...

20 years agoUpdate obsolete comment.
Tom Lane [Tue, 2 Mar 2004 22:05:24 +0000 (22:05 +0000)]
Update obsolete comment.

20 years agoAlways schema-qualify the name of a function referenced in CREATE CAST.
Tom Lane [Tue, 2 Mar 2004 21:14:44 +0000 (21:14 +0000)]
Always schema-qualify the name of a function referenced in CREATE CAST.
The former coding failed if the cast function was not in the pg_catalog
schema.  How'd this escape detection?

20 years agoUpdate bison warning to be clearer about its purpose.
Bruce Momjian [Tue, 2 Mar 2004 20:08:52 +0000 (20:08 +0000)]
Update bison warning to be clearer about its purpose.

20 years agoJunkfilter logic to force a projection step during SELECT INTO was too
Tom Lane [Tue, 2 Mar 2004 18:56:15 +0000 (18:56 +0000)]
Junkfilter logic to force a projection step during SELECT INTO was too
simplistic; it recognized SELECT * FROM but not SELECT * FROM LIMIT.
Per bug report from Jeff Bohmer.

20 years agoFix sizeof(Oid) in PGSTAT_NUM_TABPURGE. (Actually done in previous commit.)
Bruce Momjian [Tue, 2 Mar 2004 18:37:52 +0000 (18:37 +0000)]
Fix sizeof(Oid) in PGSTAT_NUM_TABPURGE.  (Actually done in previous commit.)

20 years agoAdd missing checks for Borland C compiler.
Bruce Momjian [Tue, 2 Mar 2004 18:35:59 +0000 (18:35 +0000)]
Add missing checks for Borland C compiler.

L J Bayuk

20 years agoTeach is_distinct_query to recognize that GROUP BY forces a subquery's
Tom Lane [Tue, 2 Mar 2004 16:42:20 +0000 (16:42 +0000)]
Teach is_distinct_query to recognize that GROUP BY forces a subquery's
output to be distinct, if all the GROUP BY columns appear in the output.
Per suggestion from Dennis Haney.

20 years agoUpdate Turkish FAQ, Devrim GUNDUZ
Bruce Momjian [Tue, 2 Mar 2004 15:46:22 +0000 (15:46 +0000)]
Update Turkish FAQ, Devrim GUNDUZ

20 years agoAdd missing sprompt.obj psql usage for Borland compiler, per private
Bruce Momjian [Tue, 2 Mar 2004 15:17:16 +0000 (15:17 +0000)]
Add missing sprompt.obj psql usage for Borland compiler, per private
report from krizsan.

Backpatch to 7.4.X.

20 years agoAdded partly missing VOLATILE keyword.
Michael Meskes [Tue, 2 Mar 2004 06:45:05 +0000 (06:45 +0000)]
Added partly missing VOLATILE keyword.

20 years agoUpdate release notes for 7.3.6.
Tom Lane [Tue, 2 Mar 2004 00:38:46 +0000 (00:38 +0000)]
Update release notes for 7.3.6.

20 years agoReplace unportable use of /dev/stdin with lynx's -stdin switch.
Tom Lane [Tue, 2 Mar 2004 00:03:02 +0000 (00:03 +0000)]
Replace unportable use of /dev/stdin with lynx's -stdin switch.

20 years agoAdd a few more xrefs, where they seemed appropriate: for example, refer
Neil Conway [Mon, 1 Mar 2004 17:58:39 +0000 (17:58 +0000)]
Add a few more xrefs, where they seemed appropriate: for example, refer
to the discussion of planner statistics in the documentation for the
default_statistics_target GUC var.

20 years agoEnable some additional warnings when running openjade and onsgmls.
Neil Conway [Mon, 1 Mar 2004 16:08:58 +0000 (16:08 +0000)]
Enable some additional warnings when running openjade and onsgmls.

20 years agomake_sort_from_pathkeys()'s method for choosing which of several
Tom Lane [Sun, 29 Feb 2004 17:36:05 +0000 (17:36 +0000)]
make_sort_from_pathkeys()'s method for choosing which of several
equivalent sort expressions to use was broken: you can't just look
at the relation membership, you have to actually grovel over the
individual Vars in each expression.  I think this did work when it
was written, but it was broken by subsequent optimizations that made
join relations not propagate every single input variable upward.
Must find the Var that got propagated, not choose one at random.
Per bug report from Daniel O'Neill.

20 years agoFix a typo in a recent commit to func.sgml that apparently broke the doc
Neil Conway [Sun, 29 Feb 2004 15:45:53 +0000 (15:45 +0000)]
Fix a typo in a recent commit to func.sgml that apparently broke the doc
build for some versions of OpenJade (unfortunately, my local version of
OpenJade didn't report the error...) -- thanks to Andrew Dunstan for
the report.

20 years agoFix a bunch (~88) typos that the OpenJade tools don't warn about by
Neil Conway [Sun, 29 Feb 2004 15:36:46 +0000 (15:36 +0000)]
Fix a bunch (~88) typos that the OpenJade tools don't warn about by
default: some SGML tags weren't properly terminated.

20 years ago"Corrects" the int8/float4/float8 tests under win32.
Bruce Momjian [Sun, 29 Feb 2004 02:41:45 +0000 (02:41 +0000)]
"Corrects" the int8/float4/float8 tests under win32.

Claudio Natoli

20 years agoRemove unneeded indxqual field in IndexScanState, and the useless work
Tom Lane [Sat, 28 Feb 2004 19:46:06 +0000 (19:46 +0000)]
Remove unneeded indxqual field in IndexScanState, and the useless work
spent initializing it during indexscan startup.

20 years agoTranslation updates
Dennis Bjorklund [Sat, 28 Feb 2004 17:17:48 +0000 (17:17 +0000)]
Translation updates

20 years agoTranslation update
Dennis Bjorklund [Sat, 28 Feb 2004 11:05:12 +0000 (11:05 +0000)]
Translation update

20 years agoTranslation updates
Dennis Bjorklund [Sat, 28 Feb 2004 11:00:06 +0000 (11:00 +0000)]
Translation updates

20 years agoTranslation updates
Dennis Bjorklund [Sat, 28 Feb 2004 10:52:06 +0000 (10:52 +0000)]
Translation updates

20 years agoAdjust remove_redundant_join_clauses() so that when it has a choice
Tom Lane [Fri, 27 Feb 2004 21:48:04 +0000 (21:48 +0000)]
Adjust remove_redundant_join_clauses() so that when it has a choice
of which redundant clause to remove, it removes the more expensive one.
In simple scenarios the clauses will be like 'var = var' and there's
no difference, but we are now capable of considering cases where there
are sub-selects in the clauses, and it makes a BIG difference.

20 years agogenericcostestimate() neglected to include qual startup cost in
Tom Lane [Fri, 27 Feb 2004 21:44:34 +0000 (21:44 +0000)]
genericcostestimate() neglected to include qual startup cost in
indexTotalCost.  I think this may not make any real difference in 7.4,
but it definitely is a problem with CVS tip's new equation.

20 years agoprocess_implied_equality must copy the substructure of the clauses it
Tom Lane [Fri, 27 Feb 2004 21:42:00 +0000 (21:42 +0000)]
process_implied_equality must copy the substructure of the clauses it
is generating, to avoid problems when subselects are involved.  Per
report from Damon Hart.

20 years agoFix a few omissions in the initcap() documentation & source code
Neil Conway [Fri, 27 Feb 2004 03:59:23 +0000 (03:59 +0000)]
Fix a few omissions in the initcap() documentation & source code
comments, make some unrelated improvements to the functions
documentation, and perform some minor consistency cleanup
elsewhere. Original initcap() change from Dennis B., additional
changes by Neil C.

20 years agoUpdate plpython docs to mention shared libs are possible in 2.3 or
Bruce Momjian [Fri, 27 Feb 2004 01:23:18 +0000 (01:23 +0000)]
Update plpython docs to mention shared libs are possible in 2.3 or
later.

20 years agoFor immediate application to HEAD.
Bruce Momjian [Thu, 26 Feb 2004 02:59:26 +0000 (02:59 +0000)]
For immediate application to HEAD.

Corrects bit-rot of recently applied patch. win32/cygwin only.

Claudio Natoli

20 years agoUpdate the pl/python shared build docs to match the recent version of
Bruce Momjian [Thu, 26 Feb 2004 02:09:40 +0000 (02:09 +0000)]
Update the pl/python shared build docs to match the recent version of
python.

20 years agoFor application to HEAD, following community review.
Bruce Momjian [Wed, 25 Feb 2004 19:41:23 +0000 (19:41 +0000)]
For application to HEAD, following community review.

* Changes incorrect CYGWIN defines to __CYGWIN__

* Some localtime returns NULL checks (when unchecked cause SEGVs under
Win32
regression tests)

* Rationalized CreateSharedMemoryAndSemaphores and
AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it);
requires attention.

Claudio Natoli

20 years agoTeach plpgsql's lexer about dollar-quoted literals.
Tom Lane [Wed, 25 Feb 2004 18:10:51 +0000 (18:10 +0000)]
Teach plpgsql's lexer about dollar-quoted literals.
Andrew Dunstan, some help from Tom Lane.

20 years agoanyarray really needs to be declared with typalign = 'd', so that entries
Tom Lane [Tue, 24 Feb 2004 22:59:10 +0000 (22:59 +0000)]
anyarray really needs to be declared with typalign = 'd', so that entries
in pg_statistic are correctly aligned if they contain values that require
double alignment.  Too bad we cannot force initdb for this in 7.4 branch.

20 years agoAdd %option nodefault to all our flex lexers. Fix a couple of rule gaps
Tom Lane [Tue, 24 Feb 2004 22:06:32 +0000 (22:06 +0000)]
Add %option nodefault to all our flex lexers.  Fix a couple of rule gaps
exposed thereby.  AFAICT these would not lead to any worse problems than
junk emitted on the backend's stdout, but we should have the option to
catch possible worse errors in future.

20 years agoImplement dollar-quoting in the backend lexer and psql. Documentation
Tom Lane [Tue, 24 Feb 2004 21:45:18 +0000 (21:45 +0000)]
Implement dollar-quoting in the backend lexer and psql.  Documentation
is still lacking, as is support in plpgsql and other places, but this is
the basic feature.  Patch by Andrew Dunstan, some tweaking by Tom Lane.
Also, enable %option nodefault in these two lexers, and patch some gaps
revealed thereby.

20 years ago- Corrected error handling in PGTYPEStimestamp_from_asc.
Michael Meskes [Tue, 24 Feb 2004 16:07:49 +0000 (16:07 +0000)]
- Corrected error handling in PGTYPEStimestamp_from_asc.
- Set pgtypeslib version to 1.2.

20 years agoWhen returning type "record", replace use of pgresultGetTupleDesc
Joe Conway [Tue, 24 Feb 2004 06:07:18 +0000 (06:07 +0000)]
When returning type "record", replace use of pgresultGetTupleDesc
with ReturnSetInfo->expectedDesc. This allows custom datatypes
(e.g. from tsearch2) to be returned at runtime. Previous behavior
depended on the type oid to match between the remote and local
database, which obviously doesn't work well for custom types.
Per report from Mark Gibson.

20 years agoApply quote_literal to the start_with argument of connectby. Fixes problem
Joe Conway [Tue, 24 Feb 2004 05:25:36 +0000 (05:25 +0000)]
Apply quote_literal to the start_with argument of connectby. Fixes problem
reported by David Garamond when working with bytea parent and child keys.

20 years agoCause pg_dump to emit a 'SET client_encoding' command at the start of
Tom Lane [Tue, 24 Feb 2004 03:35:19 +0000 (03:35 +0000)]
Cause pg_dump to emit a 'SET client_encoding' command at the start of
any restore operation, thereby ensuring that dumped data is interpreted
the same way it was dumped even if the target database has a different
encoding.  Per suggestions from Pavel Stehule and others.  Also,
simplify scheme for handling check_function_bodies ... we may as well
just set that at the head of the script.

20 years agoDon't crash when a rowtype argument to a plpgsql function is NULL.
Tom Lane [Tue, 24 Feb 2004 01:44:33 +0000 (01:44 +0000)]
Don't crash when a rowtype argument to a plpgsql function is NULL.
Per report from Chris Campbell.

20 years agoFix obsolete comment.
Tom Lane [Mon, 23 Feb 2004 23:55:08 +0000 (23:55 +0000)]
Fix obsolete comment.

20 years agoReplace opendir/closedir calls throughout the backend with AllocateDir
Tom Lane [Mon, 23 Feb 2004 23:03:10 +0000 (23:03 +0000)]
Replace opendir/closedir calls throughout the backend with AllocateDir
and FreeDir routines modeled on the existing AllocateFile/FreeFile.
Like the latter, these routines will avoid failing on EMFILE/ENFILE
conditions whenever possible, and will prevent leakage of directory
descriptors if an elog() occurs while one is open.
Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
critical code and there is no reason to force a DB restart on failure.
All per recent trouble report from Olivier Hubaut.

20 years agoNOFILE isn't used anywhere any more.
Tom Lane [Mon, 23 Feb 2004 20:48:03 +0000 (20:48 +0000)]
NOFILE isn't used anywhere any more.

20 years agoDo a direct probe during postmaster startup to determine the maximum
Tom Lane [Mon, 23 Feb 2004 20:45:59 +0000 (20:45 +0000)]
Do a direct probe during postmaster startup to determine the maximum
number of openable files and the number already opened.  This eliminates
depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on
platforms where open-file slots are used up by semaphores.

20 years agoFixed incorrect output of indicator structs using the name of the data struct.
Michael Meskes [Mon, 23 Feb 2004 18:14:18 +0000 (18:14 +0000)]
Fixed incorrect output of indicator structs using the name of the data struct.

20 years agoWrite #include <dl.h>, not #include "dl.h", to correctly reflect the
Tom Lane [Mon, 23 Feb 2004 04:11:10 +0000 (04:11 +0000)]
Write #include <dl.h>, not #include "dl.h", to correctly reflect the
fact that dl.h is a system header and not one of ours.

20 years agoMove responsibility for copying argv[] array into ps_status.c, where it
Tom Lane [Sun, 22 Feb 2004 21:26:55 +0000 (21:26 +0000)]
Move responsibility for copying argv[] array into ps_status.c, where it
logically belongs.  Arrange to update the _NSGetArgv() copy of the argv
pointer on Darwin.  (It seems likely that other NeXT-derived platforms
also have an _NSGetArgv() problem, but until we have some reports I'll
just make this #ifdef __darwin__.)

20 years agoDocument the family() function (added during the 7.4 dev cycle but not
Neil Conway [Sun, 22 Feb 2004 04:14:06 +0000 (04:14 +0000)]
Document the family() function (added during the 7.4 dev cycle but not
documented), and fix a typo.

20 years agoFix random build breakage from log_disconnections patch.
Tom Lane [Sat, 21 Feb 2004 06:29:58 +0000 (06:29 +0000)]
Fix random build breakage from log_disconnections patch.

20 years agoImplement a solution to the 'Turkish locale downcases I incorrectly'
Tom Lane [Sat, 21 Feb 2004 00:34:53 +0000 (00:34 +0000)]
Implement a solution to the 'Turkish locale downcases I incorrectly'
problem, per previous discussion.  Make some additional changes to
centralize the knowledge of just how identifier downcasing is done,
in hopes of simplifying any future tweaking in this area.

20 years agoThe following bug has been logged online:
Bruce Momjian [Fri, 20 Feb 2004 20:42:29 +0000 (20:42 +0000)]
The following bug has been logged online:

Bug reference:      1081
Logged by:          Aarjav Trivedi

Email address:      aarjav@cc.gatech.edu

PostgreSQL version: 7.4

Operating system:   Linux

Description:        Spelling error in tsearch2.sql leading to problems
with
tsearch

Details:

On line 620 of tsearch2.sql which is required to install and run
TSEARCH,

REATE FUNCTION tsstat_in(cstring)

should be

CREATE FUNCTION tsstat_in(cstring)

because of this error, TSEARCH fails to work as specified,

20 years agoAdd:
Bruce Momjian [Fri, 20 Feb 2004 20:37:11 +0000 (20:37 +0000)]
Add:

> * Have psql show more information about sequences

20 years agoAdd:
Bruce Momjian [Fri, 20 Feb 2004 18:45:35 +0000 (18:45 +0000)]
Add:

> * Allow external interfaces to extend the GUC variable set

20 years agoAdd to PL/java description.
Bruce Momjian [Fri, 20 Feb 2004 18:31:03 +0000 (18:31 +0000)]
Add to PL/java description.

20 years agoRe-implement psql's input scanning to use a flex-generated lexer, as per
Tom Lane [Thu, 19 Feb 2004 19:40:09 +0000 (19:40 +0000)]
Re-implement psql's input scanning to use a flex-generated lexer, as per
recent discussion.  The lexer is used for both SQL command text and
backslash commands.  The purpose of this change is to make it easier to
track the behavior of the backend's SQL lexer --- essentially identical
flex rules are now used by psql.  Also, this cleans up a lot of very
squirrelly code in mainloop.c and command.c.  The flex code is somewhat
bulkier than the removed code, but should be lots easier to maintain.

20 years agoCosmetic changes (mostly whitespace) to make it easier to diff the
Tom Lane [Thu, 19 Feb 2004 19:11:30 +0000 (19:11 +0000)]
Cosmetic changes (mostly whitespace) to make it easier to diff the
backend lexer against psql's.

20 years agoUpdate:
Bruce Momjian [Wed, 18 Feb 2004 21:42:22 +0000 (21:42 +0000)]
Update:

< * Add GUC variable to prevent waiting on locks
> * Add NO WAIT option to various SQL commands

20 years agoHere is a patch that implements setitimer() on win32. With this patch
Bruce Momjian [Wed, 18 Feb 2004 16:25:12 +0000 (16:25 +0000)]
Here is a patch that implements setitimer() on win32. With this patch
applied, deadlock detection and statement_timeout now works.

The file timer.c goes into src/backend/port/win32/.

The patch also removes two lines of "printf debugging" accidentally left
in pqsignal.h, in the console control handler.

Magnus Hagander

20 years agoAdded missing rule for DOUBLE variables.
Michael Meskes [Wed, 18 Feb 2004 08:42:02 +0000 (08:42 +0000)]
Added missing rule for DOUBLE variables.

20 years agoImprove the consistency of the error message emitted when rejecting
Neil Conway [Wed, 18 Feb 2004 00:01:34 +0000 (00:01 +0000)]
Improve the consistency of the error message emitted when rejecting
invalid input to the oid type. Also, remove some long-unused code
from adt/numutils.c

20 years agoRemove a caveat from the "backup" documentation: pg_dump now does a
Neil Conway [Tue, 17 Feb 2004 23:56:07 +0000 (23:56 +0000)]
Remove a caveat from the "backup" documentation: pg_dump now does a
better job of handling dependencies between database objects.

20 years agoDone:
Bruce Momjian [Tue, 17 Feb 2004 15:46:44 +0000 (15:46 +0000)]
Done:
> * -Change CVS ID to PostgreSQL

20 years agoAdd:
Bruce Momjian [Tue, 17 Feb 2004 15:37:48 +0000 (15:37 +0000)]
Add:

>  o Allow the schema of objects to be changed

20 years agoAdd a few more <xref> tags to the SGML docs, where appropriate. Original
Neil Conway [Tue, 17 Feb 2004 09:07:16 +0000 (09:07 +0000)]
Add a few more <xref> tags to the SGML docs, where appropriate. Original
patch from Michael Glaesemann, additional changes by Neil Conway.

20 years agoMinor editorializing on cost-based vacuum description.
Tom Lane [Tue, 17 Feb 2004 07:36:47 +0000 (07:36 +0000)]
Minor editorializing on cost-based vacuum description.

20 years agoSignificant improvements to the documentation for the new cost-based
Neil Conway [Tue, 17 Feb 2004 06:28:05 +0000 (06:28 +0000)]
Significant improvements to the documentation for the new cost-based
vacuum delay feature, including updating the docs for Tom's recent
improvements. There is still more work to be done here: for example,
adding some more information on the practical use of cost-based
vacuum delay to the "maintenance" section would probably be a good
idea.

20 years agoFix a minor SGML markup infelicity in recently-applied log_disconnections
Neil Conway [Tue, 17 Feb 2004 05:45:17 +0000 (05:45 +0000)]
Fix a minor SGML markup infelicity in recently-applied log_disconnections
patch.

20 years agoRename function log_session_end to log_disconnections.
Bruce Momjian [Tue, 17 Feb 2004 04:09:26 +0000 (04:09 +0000)]
Rename function log_session_end to log_disconnections.