aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_func.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-12-12 05:15:10 +0000
committerBruce Momjian <bruce@momjian.us>1999-12-12 05:15:10 +0000
commit11023eb1f5bd4fe6ddff652957848437b5d16f14 (patch)
tree824aee6b2e00329d45a4f08cbd17b9479568d263 /src/backend/parser/parse_func.c
parent1ff0a475ee7b9a4f8097db1cac33c60c44fce4eb (diff)
downloadpostgresql-11023eb1f5bd4fe6ddff652957848437b5d16f14.tar.gz
postgresql-11023eb1f5bd4fe6ddff652957848437b5d16f14.zip
Meanwhile, database names with single quotes in names don't work very well
at all, and because of shell quoting rules this can't be fixed, so I put in error messages to that end. Also, calling create or drop database in a transaction block is not so good either, because the file system mysteriously refuses to roll back rm calls on transaction aborts. :) So I put in checks to see if a transaction is in progress and signal an error. Also I put the whole call in a transaction of its own to be able to roll back changes to pg_database in case the file system operations fail. The alternative location issues I posted recently were untouched, awaiting the outcome of that discussion. Other than that, this should be much more fool-proof now. The docs I cleaned up as well. Peter Eisentraut Sernanders väg 10:115
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions