Patch for current_schemas to optionally include implicit schemas

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgsql-patches(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Patch for current_schemas to optionally include implicit schemas
Date: 2002-06-03 19:09:26
Message-ID: D85C66DA59BA044EB96AB9683819CF61015313@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Following my discussion with Tom on -hackers a while ago about finding
the full schema search path, I decided to give it a go myself and
hopefully both learn something, and give Tom one less thing to do!

Attached is the result which seems to work OK here. The existing
current_schemas() works as previously, & I have added
current_schemas(bool) which will return the full implicit/explicit path
if passed true or the explicit path is pass false.

Thorough checking is advised in case I've done something nasty or missed
something I was unaware of (being my first venture into the backend
code) :-)

Regards, Dave.

Attachment Content-Type Size
current_schemas.diff application/octet-stream 1.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-06-05 18:28:13 Re: Truncate
Previous Message Bruce Momjian 2002-06-03 17:42:13 Re: Python DB API (pgdb.py) patch