1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Fix two bugs in funcs.source that made the tutorial script fail.

Make a LOT of fixes to syscat.source to:

* Set search_path properly (and reset it)
* Add schema name to all results
* Add schema name to ORDER BY first
* Make checks for user-defined objects match reality
* format_type all type names
* Respect attisdropped
* Change !~ to 'not like' since it's more standard


Christopher Kings-Lynne
This commit is contained in:
Bruce Momjian
2003-10-26 04:51:51 +00:00
parent b3a10a88d7
commit 3c9a32d4a2
2 changed files with 90 additions and 52 deletions

View File

@ -6,7 +6,7 @@
--
-- Copyright (c) 1994-5, Regents of the University of California
--
-- $Id: funcs.source,v 1.5 2001/10/26 20:45:33 tgl Exp $
-- $Id: funcs.source,v 1.6 2003/10/26 04:51:51 momjian Exp $
--
---------------------------------------------------------------------------
@ -153,10 +153,11 @@ DROP FUNCTION c_overpaid(EMP, int4);
DROP FUNCTION copytext(text);
DROP FUNCTION makepoint(point,point);
DROP FUNCTION add_one(int4);
DROP FUNCTION clean_EMP();
--DROP FUNCTION clean_EMP();
DROP FUNCTION high_pay();
DROP FUNCTION new_emp();
DROP FUNCTION add_em(int4, int4);
DROP FUNCTION one();
DROP FUNCTION double_salary(EMP);
DROP TABLE EMP;