- Sep 17, 2012
-
-
Tom Lane authored
Somewhere along the line, somebody decided to remove all trace of this notation from the documentation text. It was still in the command syntax synopses, or at least some of them, but with no indication what it meant. This will not do, as evidenced by the confusion apparent in bug #7543; even if the notation is now unnecessary, people will find it in legacy SQL code and need to know what it does.
-
- Aug 07, 2011
-
-
Peter Eisentraut authored
There is what may actually be a mistake in our markup. The problem is in a situation like <para> <command>FOO</command> is ... there is strictly speaking a line break before "FOO". In the HTML output, this does not appear to be a problem, but in the man page output, this shows up, so you get double blank lines at odd places. So far, we have attempted to work around this with an XSL hack, but that causes other problems, such as creating run-ins in places like <acronym>SQL</acronym> <command>COPY</command> So fix the problem properly by removing the extra whitespace. I only fixed the problems that affect the man page output, not all the places.
-
- Nov 17, 2010
-
-
Tom Lane authored
In the previous coding, we simply issued ALTER SEQUENCE RESTART commands, which do not roll back on error. This meant that an error between truncating and committing left the sequences out of sync with the table contents, with potentially bad consequences as were noted in a Warning on the TRUNCATE man page. To fix, create a new storage file (relfilenode) for a sequence that is to be reset due to RESTART IDENTITY. If the transaction aborts, we'll automatically revert to the old storage file. This acts just like a rewriting ALTER TABLE operation. A penalty is that we have to take exclusive lock on the sequence, but since we've already got exclusive lock on its owning table, that seems unlikely to be much of a problem. The interaction of this with usual nontransactional behaviors of sequence operations is a bit weird, but it's hard to see what would be completely consistent. Our choice is to discard cached-but-unissued sequence values both when the RESTART is executed, and at rollback if any; but to not touch the currval() state either time. In passing, move the sequence reset operations to happen before not after any AFTER TRUNCATE triggers are fired. The previous ordering was not logically sensible, but was forced by the need to minimize inconsistency if the triggers caused an error. Transactional rollback is a much better solution to that. Patch by Steve Singer, rather heavily adjusted by me.
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Apr 03, 2010
-
-
Peter Eisentraut authored
The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects.
-
- Apr 26, 2009
-
-
Tom Lane authored
-
- Jan 12, 2009
-
-
Peter Eisentraut authored
recursive. => Note this incompatibility in the release notes.
-
- Dec 18, 2008
-
-
Peter Eisentraut authored
surprised/confused some users.
-
- Nov 14, 2008
-
-
Peter Eisentraut authored
another section if required by the platform (instead of the old way of building them in section "l" and always transforming them to the platform-specific section). This speeds up the installation on common platforms, and it avoids some funny business with the man page tools and build process.
-
- Oct 18, 2008
-
-
Peter Eisentraut authored
-
- Sep 08, 2008
-
-
Tom Lane authored
always owner-only. The TRUNCATE privilege works identically to the DELETE privilege so far as interactions with the rest of the system go. Robert Haas
-
- May 18, 2008
-
-
Tom Lane authored
IDENTITY to be more explicit about the possible hazards. Per gripe from Neil and subsequent discussion. Eventually we may be able to get rid of this warning, but for now it had better be there.
-
- May 17, 2008
-
-
Tom Lane authored
sequence to be reset to its original starting value. This requires adding the original start value to the set of parameters (columns) of a sequence object, which is a user-visible change with potential compatibility implications; it also forces initdb. Also add hopefully-SQL-compatible RESTART/CONTINUE IDENTITY options to TRUNCATE TABLE. RESTART IDENTITY executes ALTER SEQUENCE RESTART for all sequences "owned by" any of the truncated relations. CONTINUE IDENTITY is a no-op option. Zoltan Boszormenyi
-
- Mar 28, 2008
-
-
Tom Lane authored
-
- May 11, 2007
-
-
Neil Conway authored
-
- Apr 07, 2007
-
-
Tom Lane authored
-
- Feb 01, 2007
-
-
Bruce Momjian authored
Standard English uses "may", "can", and "might" in different ways: may - permission, "You may borrow my rake." can - ability, "I can lift that log." might - possibility, "It might rain today." Unfortunately, in conversational English, their use is often mixed, as in, "You may use this variable to do X", when in fact, "can" is a better choice. Similarly, "It may crash" is better stated, "It might crash".
-
- Sep 16, 2006
-
-
Bruce Momjian authored
-
- Mar 03, 2006
-
-
Tom Lane authored
-
- Feb 22, 2005
-
-
Tom Lane authored
-
- Jan 27, 2005
-
-
Tom Lane authored
command. This is useful because we can allow truncation of tables referenced by foreign keys, so long as the referencing table is truncated in the same command. Alvaro Herrera
-
- Mar 23, 2004
-
-
Neil Conway authored
-
- Nov 29, 2003
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- Sep 19, 2003
-
-
Tom Lane authored
-
Tom Lane authored
Per recent discussion, this does not work because other backends can't reliably see tuples in a temp table and so cannot run the RI checks correctly. Seems better to disallow this case than go back to accessing temp tables through shared buffers. Also, disallow FK references to ON COMMIT DELETE ROWS tables. We already caught this problem for normal TRUNCATE, but the path used by ON COMMIT didn't check.
-
- Sep 12, 2003
-
-
Tom Lane authored
-
- Sep 09, 2003
-
-
Tom Lane authored
discussion. (Still have some work to do editing the remainder.)
-
- Aug 31, 2003
-
-
Peter Eisentraut authored
-
- Apr 27, 2003
-
-
Peter Eisentraut authored
-
- Dec 06, 2002
-
-
Bruce Momjian authored
Rod Taylor
-
- May 18, 2002
-
-
Peter Eisentraut authored
-
- Apr 23, 2002
-
-
Tom Lane authored
-
- Apr 21, 2002
-
-
Thomas G. Lockhart authored
capabilities of specifying time zones as intervals per SQL9x. Put refentrytitle contents on the same line as the tag. Otherwise, leading whitespace is propagated into the product, which (at least) messes up the ToC layout. Remove (some) docinfo tags containing dates. Best to omit if the dates are not accurate; maybe use CVS dates instead or leave them out.
-
- Dec 08, 2001
-
-
Thomas G. Lockhart authored
between Postgres and PostgreSQL.
-
- Nov 18, 2001
-
-
Tom Lane authored
-
- Sep 03, 2001
-
-
Peter Eisentraut authored
-
- Oct 01, 1999
-
-
Thomas G. Lockhart authored
committed, but will be within a week or two). Actually include the reference page into the docs...
-
- Sep 23, 1999
-
-
Bruce Momjian authored
-
- Jul 22, 1999
-
-
Thomas G. Lockhart authored
ecpg reference page still needs formatting.
-
- Jul 06, 1999
-
-
Thomas G. Lockhart authored
No big deal; fixed lots of other markup at the same time. Bigest change: make sure there is no whitespace in front of <term> contents. This will probably help the other output types too.
-