postgresql/doc/src/sgml
Tom Lane 81f7305211 Fix erroneous handling of shared dependencies (ie dependencies on roles)
in CREATE OR REPLACE FUNCTION.  The original code would update pg_shdepend
as if a new function was being created, even if it wasn't, with two bad
consequences: pg_shdepend might record the wrong owner for the function,
and any dependencies for roles mentioned in the function's ACL would be lost.
The fix is very easy: just don't touch pg_shdepend at all when doing a
function replacement.

Also update the CREATE FUNCTION reference page, which never explained
exactly what changes and doesn't change in a function replacement.
In passing, fix the CREATE VIEW reference page similarly; there's no
code bug there, but the docs didn't say what happens.
2009-10-02 18:13:19 +00:00
..
ref Fix erroneous handling of shared dependencies (ie dependencies on roles) 2009-10-02 18:13:19 +00:00
acronyms.sgml cvsweb lives on anoncvs.postgresql.org these days. 2008-03-18 16:05:09 +00:00
adminpack.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
advanced.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
arch-dev.sgml Change 'merge sort join', a phrase we use nowhere else, to the more 2007-12-12 06:23:27 +00:00
array.sgml Fix array_dims() example to be consistent with the data previously shown. 2007-06-07 14:49:56 +00:00
backup.sgml Properly document archive/restore command examples on Windows. 2008-07-18 17:33:40 +00:00
biblio.sgml Update URL for "Generalized Partial Indexes" paper to point to a cached 2007-02-08 04:31:37 +00:00
bki.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
btree-gist.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
catalogs.sgml Improve pg_autovacuum documentation to clarify that the enabled field cannot 2008-01-31 18:40:02 +00:00
charset.sgml Move client encoding libpq function docs into libpq doc section, and 2008-03-06 15:38:02 +00:00
chkpass.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
client-auth.sgml Put spaces after "RFC". 2008-01-05 13:17:00 +00:00
config.sgml Add note that autovacuum can use up several times maintenance_work_mem, 2008-12-08 15:11:42 +00:00
contacts.sgml Make $PostgreSQL CVS tags consistent for SGML files. 2006-03-10 19:10:50 +00:00
contrib-spi.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
contrib.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
cube.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
cvs.sgml Fix typo, noted by Stefan Kaltenbrunner. 2008-04-21 11:06:23 +00:00
datatype.sgml Correct XML markup typo, <book> -> </book> 2008-02-13 22:47:09 +00:00
datetime.sgml Improve documentation about Julian dates; in particular, point out the 2007-12-15 01:18:34 +00:00
dblink.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
ddl.sgml Add note pointing out that read-only commands no longer consume 2008-01-13 17:58:54 +00:00
dfunc.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
dict-int.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
dict-xsyn.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
diskusage.sgml Update documentation on may/can/might: 2007-01-31 20:56:20 +00:00
dml.sgml Entity-ify a passel of & < > characters. Per gripe from Devrim. 2007-12-03 23:49:51 +00:00
docguide.sgml Update required TeX settings 2007-12-28 11:13:55 +00:00
earthdistance.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
ecpg.sgml Entity-ify a passel of & < > characters. Per gripe from Devrim. 2007-12-03 23:49:51 +00:00
errcodes.sgml Somebody forgot to add this ERRCODE everywhere it should go ... 2008-01-15 01:36:53 +00:00
extend.sgml Only use SGML indexterm "zone" when we want to get the entire section. 2007-08-31 21:33:48 +00:00
external-projects.sgml Clean up some now-obsolete references to GBorg. 2007-11-14 01:58:18 +00:00
features.sgml Update SQL conformance information about XML features. 2007-02-03 17:59:36 +00:00
filelist.sgml Split the release notes into a separate file for each (active) major branch, 2009-05-02 20:17:33 +00:00
fixrtf Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
func.sgml Fix imprecise documentation of random(): it never returns 1.0. 2009-08-16 19:55:38 +00:00
fuzzystrmatch.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
generate_history.pl Split the release notes into a separate file for each (active) major branch, 2009-05-02 20:17:33 +00:00
geqo.sgml Provide a bit more high-level documentation for the GEQO planner. 2007-07-21 04:02:41 +00:00
gin.sgml Update link to Oleg and Teodor's GIN page. 2008-07-22 22:05:34 +00:00
gist.sgml Clean up some stray references to tsearch2. 2007-11-13 23:36:26 +00:00
high-availability.sgml Improve table reference 2008-01-30 10:49:55 +00:00
history.sgml Add note on PostgreSQL vs. Postgres. 2007-10-30 23:06:06 +00:00
hstore.sgml Fix contrib/hstore to throw an error for keys or values that don't fit in its 2009-03-15 22:05:25 +00:00
indexam.sgml Make 'col IS NULL' clauses be indexable conditions. 2007-04-06 22:33:43 +00:00
indices.sgml Clean up some stray references to tsearch2. 2007-11-13 23:36:26 +00:00
info.sgml Remove mention of /contrib README files from documentation because files 2008-01-09 02:37:45 +00:00
information_schema.sgml information_schema.key_column_usage.position_in_unique_constraint was 2008-11-25 20:47:49 +00:00
install-win32.sgml Cleanup reference to config.pl so it makes sense not only in 2008-07-29 15:23:46 +00:00
installation.sgml Remove references to pgsql-ports and pgsql-patches mailing lists from 2009-01-06 17:27:19 +00:00
intagg.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
intarray.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
intro.sgml Update documentation on may/can/might: 2007-01-31 20:56:20 +00:00
isn.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
keywords.sgml Update key words table for 8.3 2008-01-30 10:37:36 +00:00
legal.sgml Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
libpq.sgml Document that 'sslmode' is ignored for Unix domain socket communication; 2008-11-04 22:36:12 +00:00
lo.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
lobj.sgml Fix broken markup, strange tab width. 2007-03-14 00:15:26 +00:00
ltree.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
maintenance.sgml Clearify how processes are started by autovacuum, and what the effect 2008-12-08 20:31:00 +00:00
Makefile Split the release notes into a separate file for each (active) major branch, 2009-05-02 20:17:33 +00:00
manage-ag.sgml Move NFS section into "Creating Cluster" documentation section because 2007-11-08 15:21:03 +00:00
mk_feature_tables.pl Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
monitoring.sgml Mention the tup_fetched column in pg_stat_database. 2008-11-11 20:06:25 +00:00
mvcc.sgml Update "Conflicting lock modes" to show as conflict, add 2007-02-18 01:21:49 +00:00
nls.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
notation.sgml Make $PostgreSQL CVS tags consistent for SGML files. 2006-03-10 19:10:50 +00:00
oid2name.sgml Remove the -P options of oid2name and pgbench, as they are security 2007-12-11 02:31:49 +00:00
pageinspect.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
perform.sgml Update examples in planstats.sgml for 8.3, and improve some aspects of 2007-12-28 21:03:31 +00:00
pgbench.sgml Remove the -P options of oid2name and pgbench, as they are security 2007-12-11 02:31:49 +00:00
pgbuffercache.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
pgcrypto.sgml Typo fix. 2008-01-17 14:34:45 +00:00
pgfreespacemap.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
pgrowlocks.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
pgstandby.sgml Add Simon Riggs' email address. 2008-05-07 22:06:11 +00:00
pgstattuple.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
pgtrgm.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
planstats.sgml Update examples in planstats.sgml for 8.3, and improve some aspects of 2007-12-28 21:03:31 +00:00
plhandler.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
plperl.sgml Fix example of de-escaping bytea argument, per Florian Weimer. Also fix example 2008-01-25 15:28:35 +00:00
plpgsql.sgml Reference pgAdmin as a typical client-side tool, rather than the 2008-01-23 02:04:47 +00:00
plpython.sgml Update URL to Python bug tracker. Backpatch to 8.3; doesn't seem worthy of 2009-03-30 16:16:13 +00:00
pltcl.sgml Entity-ify a passel of & < > characters. Per gripe from Devrim. 2007-12-03 23:49:51 +00:00
postgres.sgml Move contrib docs to an appendix (next door to External Projects). 2007-11-14 02:36:43 +00:00
problems.sgml Remove references to pgsql-ports and pgsql-patches mailing lists from 2009-01-06 17:27:19 +00:00
protocol.sgml Some small editorialization on the protocol documentation for GSSAPI/SSPI 2008-02-08 18:18:05 +00:00
queries.sgml Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
query.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
reference.ced Deprecate 'current' for date/time input. 2001-11-21 05:53:41 +00:00
reference.sgml First rough cut at text search documentation: bare bones reference 2007-08-21 21:08:47 +00:00
regress.sgml Update documentation of resultmap file format. 2007-06-12 17:49:12 +00:00
release-7.4.sgml Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 2009-09-03 22:14:07 +00:00
release-8.0.sgml Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 2009-09-03 22:14:07 +00:00
release-8.1.sgml Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 2009-09-03 22:14:07 +00:00
release-8.2.sgml Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 2009-09-03 22:14:07 +00:00
release-8.3.sgml Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 2009-09-03 22:14:07 +00:00
release-old.sgml Update release notes for 7.4.26, 8.0.22, 8.1.18, 8.2.14, 8.3.8, 8.4.1. 2009-08-27 01:27:24 +00:00
release.sgml Split the release notes into a separate file for each (active) major branch, 2009-05-02 20:17:33 +00:00
rowtypes.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
rules.sgml Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
runtime.sgml Fix spelling typo in comment. 2008-01-31 23:31:33 +00:00
seg.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
sources.sgml Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:29 +00:00
spi.sgml Fix SPI_cursor_open() and SPI_is_cursor_plan() to push the SPI stack before 2008-02-12 04:09:44 +00:00
sql.sgml Remove tabs from SGML files to help tag alingment and improve 2007-02-16 03:50:29 +00:00
sslinfo.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
standalone-install.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
start.sgml Reference pgAdmin as a typical client-side tool, rather than the 2008-01-23 02:04:47 +00:00
storage.sgml Fix "Overall Page Layout" table. The second row should be ItemIdData, not 2007-11-23 00:24:12 +00:00
stylesheet-common.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet-fo.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet-hh.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet.css Override upstream DSSSL style sheet formatting changes 2004-06-29 20:44:34 +00:00
stylesheet.dsl Disable LOT for the time being because of TeX problems 2007-12-28 11:14:19 +00:00
stylesheet.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
syntax.sgml Avoid mathematical inconsistency in example about avoiding division by 2008-01-23 19:51:29 +00:00
tablefunc.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
test-parser.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
textsearch.sgml Fix textsearch documentation examples to not recommend concatenating separate 2009-04-19 20:36:13 +00:00
trigger.sgml Entity-ify a passel of & < > characters. Per gripe from Devrim. 2007-12-03 23:49:51 +00:00
tsearch2.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
typeconv.sgml Fix select_common_type() so that it can select a domain type, if all inputs 2007-11-26 16:46:51 +00:00
user-manag.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
uuid-ossp.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
vacuumlo.sgml Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
wal.sgml Document how to control the disk write cache on Solaris. 2007-12-29 17:55:07 +00:00
xaggr.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
xfunc.sgml Make LOAD of an already-loaded library into a no-op, instead of attempting 2009-09-03 22:11:22 +00:00
xindex.sgml Mention hash opclasses in 'System Dependencies on Operator Classes', 2007-12-02 04:36:40 +00:00
xml2.sgml Fix contrib/xml2 makefile to not override CFLAGS, and in passing make it 2008-05-08 16:49:48 +00:00
xoper.sgml spell checker run 2007-11-28 15:42:31 +00:00
xplang.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
xtypes.sgml Change the declaration of struct varlena so that the length word is 2008-02-23 19:11:55 +00:00