Thread: Tutorial fixes

Tutorial fixes

From
Christopher Kings-Lynne
Date:
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

All changes have been tested.

Chris


Attachment

Re: Tutorial fixes

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Christopher Kings-Lynne wrote:
> 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
>
> All changes have been tested.
>
> Chris
>

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073