Commit Graph

3086 Commits

Author SHA1 Message Date
Bruce Momjian 4feeee17ce Done:
> * -HOLDER/HOLDERTAB rename to PROCLOCK/PROCLOCKTAG (Bruce)
2002-07-19 00:17:53 +00:00
Peter Eisentraut 97377048b4 pg_cast table, and standards-compliant CREATE/DROP CAST commands, plus
extension to create binary compatible casts.  Includes dependency tracking
as well.

pg_proc.proimplicit is now defunct, but will be removed in a separate
commit.

pg_dump provides a migration path from the previous scheme to declare
casts.  Dumping binary compatible casts is currently impossible, though.
2002-07-18 23:11:32 +00:00
Bruce Momjian a345ac8842 Done:
> * -Merge LockMethodCtl and LockMethodTable into one shared structure (Bruce)
2002-07-18 23:07:09 +00:00
Tom Lane 11333426f1 Implement DROP SCHEMA. It lacks support for dropping conversions and
operator classes, both of which are schema-local and so should really
be droppable.
2002-07-18 16:47:26 +00:00
Tom Lane 8bed350c4a Fix copy-and-pasteo (CASCADE/RESTRICT in wrong place). 2002-07-18 15:49:08 +00:00
Bruce Momjian fb94c09ae4 Done:
> * -Make sure all block numbers are unsigned to increase maximum table size
2002-07-18 05:01:51 +00:00
Bruce Momjian 5a5e46ea7e Here (finally ;-)) is a doc patch covering the Table Function C API. It
reflects the changes in the tablefunc-fix patch that I sent in the other
day. It also refers to "see contrib/tablefunc for more examples", which
is next on my list of things to finish and submit.

Joe Conway
2002-07-18 04:47:17 +00:00
Bruce Momjian a90db34b54 The attached patch (against HEAD) implements
COPY x (a,d,c,b) from stdin;
  COPY x (a,c) to stdout;

as well as the corresponding changes to pg_dump to use the new
functionality.  This functionality is not available when using
the BINARY option.  If a column is not specified in the COPY FROM
statement, its default values will be used.

In addition to this functionality, I tweaked a couple of the
error messages emitted by the new COPY <options> checks.

Brent Verner
2002-07-18 04:43:51 +00:00
Bruce Momjian df432df9fa Done, not sure when, reported by Neil Conway:
> * -Report failure to find readline or zlib at end of configure run
2002-07-17 22:15:20 +00:00
Tom Lane 5af19e4227 Add more dependency insertions --- this completes the basic pg_depend
functionality.  Of note: dropping a table that has a SERIAL column
defined now drops the associated sequence automatically.
2002-07-16 22:12:20 +00:00
Bruce Momjian 93d6a8aa7d > pgsql-bugs@postgresql.org wrote:
>  > David Clark (dclarknospam@opsi.co.za) reports a bug with a severity
>  > Table 3-7 SQL Literal escaped octets shows the input escape
>  > representation for a single quote as '\\'' , but the third paragraph
>  > below table 3-8 SQL Output Escaped Octets says that the single quote
>  > must be input as '\''
>
> Nice catch. '\'' is correct as shown in the example in Table 3-7.
>
>  >
>  > Also in the same paragraph mentioned above it says input for the
>  > single quote must be '\'' (or '\\134') shouldn't this be (or '\\047')
>
> Also a bug. Should be '\\047', as you pointed out.
>

Here's a patch to fix the binary string doc errors.

Joe Conway
2002-07-16 17:05:46 +00:00
Bruce Momjian d76eef3e7c Add mention of TOAST storage for character columns. 2002-07-16 04:45:59 +00:00
Bruce Momjian b3341ddbf2 Mark 'line' as 'not implemented' in SGML and psql \dT, per Thomas
Lockhart.  initdb not forced.
2002-07-16 03:30:27 +00:00
Bruce Momjian 7fb9b5d434 This fixes 2 inaccuracies in the recently added SQL99 feature list docs.
UNIQUE and DISTINCT predicates are both listed as implemented -- AFAIK,
neither is.

I also included another trivial patch which adds the default location
of the DSSSL stylesheets on my system (Debian unstable, docbook-dsssl
1.76) to the list of paths that configure looks for.

Neil Conway
2002-07-16 00:51:37 +00:00
Bruce Momjian 1a6f91c9f3 Item not needed:
< * Use our own getopt() for FreeBSD/OpenBSD to allow --xxx flags (Bruce)
2002-07-15 23:34:34 +00:00
Bruce Momjian b9104e3a97 Remove certain Makefile dependencies by using full pathnames in
configure.in.
2002-07-15 21:34:05 +00:00
Bruce Momjian 91dfa1af97 Fix \? and \pset pager handling. \? wasn't honoring pager before. 2002-07-15 01:56:25 +00:00
Tom Lane c4fb2b4e9e Remove no-longer-appropriate notes about lack of CASCADE/RESTRICT behavior. 2002-07-14 22:47:56 +00:00
Bruce Momjian 59097af0bb Mark as done, per Rod:
> o -Add ALTER TABLE DROP non-CHECK CONSTRAINT
> * -Allow psql \d to show foreign keys
> * -Auto-destroy sequence on DROP of table with SERIAL; perhaps a separate
> * -Prevent column dropping if column is used by foreign key
> * -Automatically drop constraints/functions when object is dropped
> * -Make foreign key constraints clearer in dump file
> * -Make foreign keys easier to identify
2002-07-13 02:42:16 +00:00
Bruce Momjian fa064e9794 Both done:
o -Add SET or BEGIN timeout parameter to cancel query
> * -Add pg_depend table for dependency recording; use sysrelid, oid,
2002-07-13 02:21:15 +00:00
Bruce Momjian 4db8718e84 Add SET statement_timeout capability. Timeout is in ms. A value of
zero turns off the timer.
2002-07-13 01:02:14 +00:00
Bruce Momjian ccb3f90f06 Re-add -I documentation, per Tom. 2002-07-13 00:55:53 +00:00
Tom Lane 7c6df91dda Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY
constraints all have real live entries in pg_constraint.  pg_depend
exists, and RESTRICT/CASCADE options work on most kinds of DROP;
however, pg_depend is not yet very well populated with dependencies.
(Most of the ones that are present at this point just replace formerly
hardwired associations, such as the implicit drop of a relation's pg_type
entry when the relation is dropped.)  Need to add more logic to create
dependency entries, improve pg_dump to dump constraints in place of
indexes and triggers, and add some regression tests.
2002-07-12 18:43:19 +00:00
Bruce Momjian 839a346560 Not a valid item:
< * Add version file format stamp to heap and other table types
2002-07-11 21:41:25 +00:00
Bruce Momjian ccdb8a8d3a Remove duplicate:
< * Use BlockNumber rather than int where appropriate
2002-07-11 21:40:20 +00:00
Bruce Momjian c20ae1ce50 Remove references to pre-7.1; too old. 2002-07-11 16:38:08 +00:00
Bruce Momjian dddd8608b3 Update FAQ. 2002-07-11 16:35:56 +00:00
Bruce Momjian f2bb1cfa85 Done, according to Rod Taylor:
> * -Add ALTER TRIGGER ... RENAME
2002-07-11 02:56:49 +00:00
Bruce Momjian 87c963658c Fix pg_restore flags in documentation. 2002-07-10 02:57:31 +00:00
Bruce Momjian 6797ddcc32 Fix typo mentioned by Rich Morin. 2002-07-09 04:47:07 +00:00
Bruce Momjian 9af7179a10 Done:
> * -Make one version of simple_prompt() in code (Bruce, Tom)
2002-07-08 02:01:02 +00:00
Bruce Momjian d66f172f4b Don't document that UNDO is certain to be added in the future. 2002-07-05 19:06:11 +00:00
Bruce Momjian b2f2415c92 Mark person:
> * -Allow psql \d to show temporary table structure (Tom)
2002-07-05 02:10:17 +00:00
Bruce Momjian 5ebbf01838 Done
> * -Allow psql \d to show temporary table structure
2002-07-05 02:09:52 +00:00
Bruce Momjian 37e37daa03 Add explanation of the various *_min_messages elog() values. 2002-07-05 01:17:20 +00:00
Bruce Momjian 250a802c02 Fix capitalization. 2002-07-05 00:14:16 +00:00
Bruce Momjian be64da227c Add NULL space mention. 2002-07-04 19:26:10 +00:00
Thomas G. Lockhart c7eea66c39 Move INTERSECT DISTINCT to the supported category. Error in docs. 2002-07-04 15:10:43 +00:00
Bruce Momjian 3722dee6d9 Document function args are required for pg_restore -P.
Fix pg_dump to not quote the function name in the storage tag.
Fix pg_dump so GRANT/REVOKE(ACL) tag entries are not quoted, for
	consistency.
Fix pg_restore to properly handle quotes and some spaces in -P.
2002-07-04 03:04:55 +00:00
Bruce Momjian 2b057b29cc Done:
>         o -Add support for CallableStatements
2002-07-03 16:55:40 +00:00
Bruce Momjian 95a5f7d858 Not done:
> * Add the functionality for WITH CHECK OPTION clause of CREATE VIEW
2002-06-28 19:28:30 +00:00
Bruce Momjian c445edefe1 Done:
> * -Add the functionality for WITH CHECK OPTION clause of CREATE VIEW
2002-06-28 18:57:35 +00:00
Bruce Momjian cdfa456d15 Update FAQ. 2002-06-25 03:35:13 +00:00
Bruce Momjian c1e2f351f8 Add more info on regex's using INDEX. 2002-06-25 03:32:31 +00:00
Bruce Momjian 0b584830f0 Update FAQ. 2002-06-25 01:45:58 +00:00
Tom Lane 6918df16a5 plpgsql's PERFORM statement now sets FOUND depending on whether any
rows were returned by the performed query.  Per recent pgsql-general
discussion.
2002-06-24 23:12:06 +00:00
Tom Lane e11f167718 Document quote_ident and quote_literal in the main list of string functions,
as suggested by Josh Berkus.
2002-06-24 22:17:01 +00:00
Bruce Momjian 407bd1c29b Add MIN/MAX LIMIT/OFFSET mention. 2002-06-23 21:16:29 +00:00
Bruce Momjian a0361c46e6 Rename command to reindexdb, for consistency. 2002-06-23 03:51:55 +00:00
Bruce Momjian a36711c368 Mention REINDEX can be used for disk space reclaimation too. 2002-06-23 03:45:15 +00:00