aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-06-04 17:22:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-06-04 17:22:53 -0400
commitf94979f618abffb63cad2266f39db8beeeb18afc (patch)
tree7d63dd025cf9896466fb92d00aef75889da3b68b /src/tutorial/funcs.c
parentdc12e477eb8a9b502bb613299b9e2b3acd85a4d5 (diff)
downloadpostgresql-f94979f618abffb63cad2266f39db8beeeb18afc.tar.gz
postgresql-f94979f618abffb63cad2266f39db8beeeb18afc.zip
Provide better message when CREATE EXTENSION can't find a target schema.
The new message (and SQLSTATE) matches the corresponding error cases in namespace.c. This was thought to be a "can't happen" case when extension.c was written, so we didn't think hard about how to report it. But it definitely can happen in 9.2 and later, since we no longer require search_path to contain any valid schema names. It's probably also possible in 9.1 if search_path came from a noninteractive source. So, back-patch to all releases containing this code. Per report from Sean Chittenden, though this isn't exactly his patch.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions