Commit Graph

1843 Commits

Author SHA1 Message Date
Bruce Momjian acd16eadf5 Change --with-pltcl-unknown to --enable-pltcl-unknown 2001-05-09 19:41:57 +00:00
Bruce Momjian f7659a9c18 This patch adds a new configure option --with-pltcl-unknown which
enables pltcl unknown support.


Also it adds substituting of tclsh with tclsh that was by configure in
pltcl_*mod scripts. For example, On freebsd, tclsh can be called
tclsh8.2 or
tclsh8.3 depending on installed version of Tcl.

After patching files
  src/pl/tcl/modules/pltcl_listmod
  src/pl/tcl/modules/pltcl_loadmod
  src/pl/tcl/modules/pltcl_delmod
must be renamed(copied,repocopied) to
  src/pl/tcl/modules/pltcl_listmod.in
  src/pl/tcl/modules/pltcl_loadmod.in
  src/pl/tcl/modules/pltcl_delmod.in

seva@sevasoft.kiev.ua
2001-05-09 19:19:00 +00:00
Bruce Momjian b0546a2554 Fix libpq++'s FieldSize to return int, not short. 2001-05-09 17:46:11 +00:00
Bruce Momjian a79b698adb Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm
still looking at the best way to integrate Tom Vijlbrief's fixes
(insofar as they're still needed); would 7.2 be a suitable time for
incompatible API changes?


Jeroen


Changes:

(*) Introduced bool, true, false (replacing some int, 1, 0)
(*) Made some member functions const
(*) Documented GetIsNull()
(*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
    portability problem (assumed that NULL pointer equals all-zero bit pattern)
(*) PrintTuples(): renamed width parameter to fillAlign to conform with other
    usage; fixed memory leak and compile issue w.r.t. field separator (should
    also slightly improve performance)
(*) Fixed some minor compilation issues
(*) Moved "using namespace std;" out of headers, where they didn't belong; used
    new (temporary) preprocessor macro PGSTD to do this
(*) Made ToString() static, removed unneeded memset(), made buffer size adapt
    to sizeof(int)
(*) Made some constructors explicit
(*) Changed some const std::string & parameters to plain std::string
(*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
    as getter--bad style)
(*) Renamed some paramaters previously named "string"
(*) Introduced size_type typedef for number of tuples in result set
(*) PgTransaction now supports re-opening after closing, and aborts if not
    explicitly committed prior to destruction

J. T. Vermeulen
2001-05-09 17:29:10 +00:00
Bruce Momjian 1ef9338ab6 If it's true that the ALTER TABLE x ADD CONSTRAINT x CHECK (x) syntax is
supported in 7.1.1, here is a patch to that alter_table.sgml that documents
it.

Christopher Kings-Lynne
2001-05-09 13:27:15 +00:00
Tom Lane 6cda3ad8fe Cause planner to make use of average-column-width statistic that is now
collected by ANALYZE.  Also, add some modest amount of intelligence to
guesses that are used for varlena columns in the absence of any ANALYZE
statistics.  The 'width' reported by EXPLAIN is finally something less
than totally bogus for varlena columns ... and, in consequence, hashjoin
estimating should be a little better ...
2001-05-09 00:35:09 +00:00
Bruce Momjian b66a0cca57 Update runtime shared memory computations. 2001-05-08 21:09:47 +00:00
Peter Eisentraut 1c1c58c76c Add SET SESSION AUTHORIZATION command. 2001-05-08 21:06:43 +00:00
Bruce Momjian 530dc73cd1 Remove pgadmin.sgml file. 2001-05-08 19:28:01 +00:00
Bruce Momjian 3044bc4043 Add new emails to file. 2001-05-08 19:21:46 +00:00
Bruce Momjian a5b17eb280 Remove LISP manual reference. Added to web "interfaces" page. 2001-05-08 19:14:52 +00:00
Bruce Momjian aea4f6f993 Update TODO list. 2001-05-08 19:01:55 +00:00
Bruce Momjian 04e14fa350 drop_function.sgml:
===================
In Notes:
 Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                      ^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.

In Compatibility SQL/PSM:
 SQL/PSM is a proposed standard.

 We had that before: remove proposed.


drop_index.sgml:
================
<REFNAME>: Removes existing indexes from a database

as far as I can see index should be singular. The command description is
written as if only one index can be removed at a time. Interestingly
enough, in v7.0.2 it was in fact singular. Am I mistaken here?

drop_operator.sgml:
===================
In Outputs the arguments are referred to as type and type2, but the synopsis
and Inputs section these are left_type and right_type, respectively. Also,
oper is used in Outputs versus id in Inputs/Synopsis. In the translation I
follow the replaceables used in the Inputs/Synopsis part.

Frank Wegmann
2001-05-08 17:51:30 +00:00
Bruce Momjian cd11d33a36 drop_function.sgml:
===================
In Notes:
 Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                      ^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.

Frank Wegmann
2001-05-08 17:35:57 +00:00
Tom Lane 46c93bd532 Further cleanup of RAISE discussion; in particular, remove example
that doesn't actually work.
2001-05-08 02:53:24 +00:00
Bruce Momjian 24baa1d95f Fix raise mention that %% output as %. 2001-05-08 02:26:09 +00:00
Bruce Momjian f4832defa9 Update RAISE manual concerning % format symbols. 2001-05-08 00:30:41 +00:00
Bruce Momjian a9ac332a4e Update TODO list. 2001-05-08 00:19:19 +00:00
Bruce Momjian c1983858c0 Update TODO list. 2001-05-08 00:14:15 +00:00
Bruce Momjian e86c31c74f Update RAISE mention in manual to take string/variable not format/identifier. 2001-05-08 00:09:22 +00:00
Bruce Momjian 5fdae774a1 Add mention of functional indexes for case-insensitive comparisons. 2001-05-07 19:58:31 +00:00
Peter Eisentraut 232724af0d Add \cd command to psql. 2001-05-07 19:31:33 +00:00
Bruce Momjian ab420e2114 Update TODO list. 2001-05-07 18:40:59 +00:00
Bruce Momjian ef71c8fccf Update TODO list. 2001-05-07 17:05:17 +00:00
Bruce Momjian 84fd16516c Update FAQ to use new pgsql-cygwin@postgresql.org list. 2001-05-07 16:02:38 +00:00
Bruce Momjian f83f740a13 Solaris startup cleanup from Justin Clift 2001-05-07 15:55:27 +00:00
Tom Lane f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as
a separate statement (though it can still be invoked as part of VACUUM, too).
pg_statistic redesigned to be more flexible about what statistics are
stored.  ANALYZE now collects a list of several of the most common values,
not just one, plus a histogram (not just the min and max values).  Random
sampling is used to make the process reasonably fast even on very large
tables.  The number of values and histogram bins collected is now
user-settable via an ALTER TABLE command.

There is more still to do; the new stats are not being used everywhere
they could be in the planner.  But the remaining changes for this project
should be localized, and the behavior is already better than before.

A not-very-related change is that sorting now makes use of btree comparison
routines if it can find one, rather than invoking '<' twice.
2001-05-07 00:43:27 +00:00
Peter Eisentraut 7038554c4e Allow 'psql -f -' to read from standard input. 2001-05-06 17:38:32 +00:00
Peter Eisentraut 84e8e5b427 Make prompt customization work with changeable Unix socket location. 2001-05-06 17:21:11 +00:00
Bruce Momjian 1564bd11e3 UPdate for release tomorrow. 2001-05-05 02:57:40 +00:00
Tom Lane e669b8d751 COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
2001-05-04 23:11:37 +00:00
Bruce Momjian 8d2fe903b0 Update TODO list. 2001-05-04 22:08:53 +00:00
Bruce Momjian 9278262181 Update TODO list. 2001-05-04 20:48:14 +00:00
Bruce Momjian 602b742507 Add missing tag. 2001-05-04 02:54:33 +00:00
Bruce Momjian 0cec2bb0cd BTW it does not add encodign it just patches existing one (KOI8) to
support two - KOI8-R and KOI8-U (latter is superset of the former if
not to take to the account pseudographics)

Andy Rysin
2001-05-03 21:38:45 +00:00
Bruce Momjian c434ae3539 pg_dump can dump 7.0 databases. 2001-05-03 20:39:52 +00:00
Tom Lane 77fe28f33e Describe handling of multiply-inherited fields correctly. 2001-05-03 17:50:55 +00:00
Bruce Momjian d31b9f3101 Update shared memory docs. 2001-05-03 17:28:13 +00:00
Bruce Momjian 7efc878104 Final stamp for 7.1.1. All done. 2001-05-03 17:17:41 +00:00
Bruce Momjian 13e9cea634 Some updates for 7.1.1. 2001-05-03 16:26:21 +00:00
Bruce Momjian 4ad073cf4c In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.

Mismatch with synopsis, agg must be name here.

Frank Wegmann
2001-05-02 20:35:21 +00:00
Bruce Momjian 8e393fc501 Added mention of SHMALL and removed BSD/OS-specific table. 2001-05-02 17:04:53 +00:00
Bruce Momjian 4929d85e50 description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
                      ^^^^^^^^^^

Frank Wegmann
2001-05-02 14:46:33 +00:00
Peter Eisentraut adee1da002 Bump version to 7.1.1. Now run over to hub to rebuild documentation
before release...
2001-05-01 10:50:26 +00:00
Peter Eisentraut 4f268b01cd More markup fixes 2001-05-01 10:48:57 +00:00
Tom Lane d45c0794df Fix slightly confused description of debug options. 2001-05-01 03:00:28 +00:00
Tom Lane 48bdf021b6 Update FAQ_HPUX now that we have reports of out-of-the-box build
on HPUX 11.
2001-04-30 23:55:26 +00:00
Tom Lane c8b5598a11 Document pltcl's return_null command. 2001-04-30 22:22:34 +00:00
Tom Lane 955c8771f8 Repair freshly-broken markup. 2001-04-30 22:21:22 +00:00
Bruce Momjian 60ba30d13a Break up PQexec() result functions into subsections to be clearer. Both
libpq and libpq++ reorganized.
2001-04-30 17:38:00 +00:00