Commit Graph

2518 Commits

Author SHA1 Message Date
Bruce Momjian a620a760ed Allow BEGIN WORK to specify transaction isolation level, like START
TRANSACTION.
2004-01-10 02:21:08 +00:00
Bruce Momjian 0150dbdce5 Allow libpq to do thread-safe SIGPIPE handling. This allows it to
ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE,
unless the user installs their own signal handler.

This is a minor fix because the only time you get SIGPIPE from libpq's
send() is when the backend dies.
2004-01-09 02:02:43 +00:00
Tom Lane a77e32d7c5 Apply the core parts of Dennis Bjorklund's patch to allow function
parameters to be declared with names.  pg_proc has a column to store
names, and CREATE FUNCTION can insert data into it, but that's all as
yet.  I need to do more work on the pg_dump and plpgsql portions of the
patch before committing those, but I thought I'd get the bulky changes
in before the tree drifts under me.
initdb forced due to pg_proc change.
2004-01-06 23:55:19 +00:00
Neil Conway bc028beb16 Make the 'wal_debug' GUC variable a boolean (rather than an integer), and
hide it behind #ifdef WAL_DEBUG blocks.
2004-01-06 17:26:23 +00:00
Neil Conway 71998c1e51 Remove an old and out-of-date SGML comment from this file: we already
have WAL, outer joins, and TOAST.
2004-01-05 20:39:23 +00:00
Neil Conway af7a21cb99 Fix (yet another) instance of incorrect markup for a GUC variable. 2004-01-05 20:37:51 +00:00
Peter Eisentraut a7b30b9c48 Correct gettext URL. 2004-01-04 16:43:52 +00:00
Tom Lane 5e54515167 Recommend SHOW, instead of pg_controldata, for checking LC_COLLATE and
LC_CTYPE settings of a database.
2003-12-30 23:36:19 +00:00
Tom Lane debeb47c92 Be a little more consistent about which terms are uppercased in
index entries.
2003-12-26 21:30:48 +00:00
Michael Meskes 99827af7e0 Fixed docs to clearly note that ecpg is originally a C precompiler and C++ stuff is not 100%. 2003-12-26 20:00:00 +00:00
Bruce Momjian 1c757c49fa > > I have no idea if this in Oracle or not. But it's something I
> > needed, and other people in the past asked about it too.
>
> It is in Oracle, but you aren't exactly on the spot.  It should be
>
> IYYY - 4 digits  ('2003')
> IYY  - 3 digits  ('003')
> IY   - 2 digits  ('03')
> I    - 1 digit   ('3')

Here is an updated patch that does that.

Kurt Roeckx
2003-12-25 03:36:24 +00:00
Bruce Momjian a922472a2a Supress non-temp schemas from psql \dn display. 2003-12-23 23:13:14 +00:00
Tom Lane 9adaf64da3 Mop-up for HAS_TEST_AND_SET refactoring. Un-break two or three platforms
that were broken, try to make layout of s_lock.h entries consistent,
use HAVE_SPINLOCKS in preference to HAS_TEST_AND_SET everywhere outside
s_lock.h itself.
2003-12-23 18:13:17 +00:00
Tom Lane 5015cf01eb Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. 2003-12-21 18:06:15 +00:00
Bruce Momjian 550d347811 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:23:36 +00:00
Bruce Momjian 0ea4f9c859 Back out:
>  Attached is a patch that addressed all the discussed issues
>  that did not break backward compatability, including the
>  ability to output ISO-8601 compliant intervals by setting
>  datestyle to iso8601basic.
2003-12-21 04:34:36 +00:00
Bruce Momjian 1ee0ddf91d Another markup fix for recent patch. 2003-12-20 16:06:54 +00:00
Bruce Momjian 4e005c9095 Fix broken markup. 2003-12-20 15:59:25 +00:00
Bruce Momjian 54c8e821b8 In my mind there were two categories of open issues
a) ones that are 100% backward (such as the comment about
     outputting this format)
and
  b) ones that aren't (such as deprecating the current
     postgresql shorthand of
         '1Y1M'::interval = 1 year 1 minute
     in favor of the ISO-8601
         'P1Y1M'::interval = 1 year 1 month.

Attached is a patch that addressed all the discussed issues that
did not break backward compatability, including the ability to
output ISO-8601 compliant intervals by setting datestyle to
iso8601basic.

Interval values can now be written as  ISO 8601 time intervals, using
the "Format with time-unit designators". This format always starts with
the character 'P', followed  by a string of values followed
by single character time-unit designators. A 'T' separates the date and
time parts of the interval.

Ron Mayer
2003-12-20 15:32:55 +00:00
Peter Eisentraut cb95ec2f7a 7.4.1 release note improvements 2003-12-19 20:06:20 +00:00
Bruce Momjian e9aec81792 Please find enclosed a patch exemplifying typical use of the ARE
Class-Shorthand Escapes<C2><AE>.  I believe it will help intrepid regex
users. :)

David Fetter
2003-12-18 03:59:07 +00:00
Bruce Momjian 0d5fce355b Restore information schema upgrade instructions of Peter. 2003-12-17 07:07:00 +00:00
Peter Eisentraut 4b1a35b3c2 Add example for converting epoch back to timestamp. 2003-12-16 15:27:58 +00:00
Bruce Momjian 39d66b5494 Mention ecpg SET CONNECTION is not thread-aware. 2003-12-16 01:06:39 +00:00
Peter Eisentraut a6dbd64947 Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
previous behavior of <literal>, <envar>, <acronym>, and others.
2003-12-15 23:58:12 +00:00
Bruce Momjian 34cb0f7b46 Update HISTORY and release notes for 7.4.1. 2003-12-15 22:24:59 +00:00
Neil Conway 6efdd4186c Fix two typos in the documentation for PREPARE. 2003-12-14 00:55:46 +00:00
Neil Conway 81e9455150 This patch fixes a few more uppercase GUC vars. I also removed an
example from the RESET reference page because it seemed completely
redundant.
2003-12-14 00:15:03 +00:00
Neil Conway 0b52062265 This patch makes some improvements and adds some additional detail
to the documentation on routine database maintainence activities.
I also corrected a bunch of SGML markup.
2003-12-14 00:10:32 +00:00
Neil Conway e24018728c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-14 00:05:29 +00:00
Neil Conway 7fb5a9992c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
Bruce Momjian 62f92ff32d SGML doc build instructions --- no more DTDDECL, fix double dash in path name. 2003-12-13 20:09:15 +00:00
Peter Eisentraut 42610b1b8a Fix for vpath build 2003-12-11 22:10:51 +00:00
Peter Eisentraut d87e109b88 Make some wording consistent with DROP OPERATOR description. 2003-12-11 20:13:53 +00:00
Peter Eisentraut 60425f39c3 Fix instructions how to shut down postmaster. 2003-12-11 19:56:54 +00:00
Joe Conway f0943278c1 Documentation update for previously committed changes: read-only GUC variables
and pg_settings view.
2003-12-06 23:10:23 +00:00
Tom Lane 005a1217fb Massive overhaul of pg_dump: make use of dependency information from
pg_depend to determine a safe dump order.  Defaults and check constraints
can be emitted either as part of a table or domain definition, or
separately if that's needed to break a dependency loop.  Lots of old
half-baked code for controlling dump order removed.
2003-12-06 03:00:16 +00:00
Peter Eisentraut 59b1a23028 Markup improvements 2003-12-04 21:24:56 +00:00
Tom Lane 0fd336c61d Update release notes for 7.3.5. 2003-12-02 16:14:12 +00:00
Tom Lane 145d9fa46c Code and docs review for numeric-factorial patch. 2003-12-02 00:26:59 +00:00
Bruce Momjian 8f61184db7 Hi, this doco patch is a quick one to add explicit mention of the need
for the AT clause in threaded ECPG applications.

Philip Yarra
2003-12-01 22:36:40 +00:00
Bruce Momjian 8bb60b6423 attached is a patch that adds display of the groups a user belongs to to
\du and a \dg command to psql. It's against 7.4beta5.

Markus Bertheau <twanger@bluetwanger.de>
2003-12-01 22:21:54 +00:00
Bruce Momjian 7ce9b7c0d8 This patch adds a new GUC var, "default_with_oids", which follows the
proposal for eventually deprecating OIDs on user tables that I posted
earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or
WITHOUT OIDS when dumping a table. The documentation has been updated.

Neil Conway
2003-12-01 22:08:02 +00:00
Bruce Momjian e2ac58c7bd Remove mention of factorial as casting example. New example needed. 2003-12-01 21:53:15 +00:00
Tom Lane af03663878 Minor wordsmithing in datetime docs to try to address gripes raised by
cnliou.
2003-12-01 20:34:53 +00:00
Tom Lane 3e5da0a8da Fix typos noted by Halley Pacheco de Oliveira. 2003-12-01 17:58:27 +00:00
Joe Conway b8f40ced2f Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:55:09 +00:00
Bruce Momjian 09ab9b5915 Remove INTO recommendation for plpgsql language. 2003-11-30 05:45:22 +00:00
Bruce Momjian 1a7c373d18 There is an unused variable in an example function in the PL/PgSQL
documentation; this patch removes it.

Neil Conway
2003-11-30 04:47:37 +00:00
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00