pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amador Alvarez <aalvarez@d2.com>
To: pgsql-admin@postgresql.org
To: hari.fuchs@gmail.com
Subject: Re: Can schemas be ordered regarding their creation time ?
Date: Thu, 07 Jun 2012 11:29:03 -0700
Message-ID: <4FD0F2EF.4070302@d2.com> (raw)
In-Reply-To: <873967bm2e.fsf@hf.protecting.net>
References: <4FCEA2DF.3010904@d2.com>
	<877gvkc1a6.fsf@hf.protecting.net>
	<4FCFC13E.5040503@d2.com>
	<873967bm2e.fsf@hf.protecting.net>

Thanks a lot Hari,
very resourceful, you have been very helpful.

cheers,
A.A.

On 06/07/2012 12:47 AM, hari.fuchs@gmail.com wrote:
> Amador Alvarez<aalvarez@d2.com>  writes:
>
>> Any idea on doing ("COMMENT ON SCHEMA x IS 'y'") as 'y' variable?
> You could use PL/pgSQL's "EXECUTE" for that:
>
> DO $$BEGIN
>    EXECUTE 'COMMENT ON SCHEMA myschema IS ''Created ' ||
>            current_timestamp || '''';
> END$$;
>
>



view thread (7+ messages)

Message-ID: <4FD0F2EF.4070302@d2.com>
Permalink:  ../4FD0F2EF.4070302@d2.com/
Also on:    postgresql.org/message-id/4FD0F2EF.4070302@d2.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: aalvarez@d2.com, hari.fuchs@gmail.com
  Subject: Re: Can schemas be ordered regarding their creation time ?
  In-Reply-To: <4FD0F2EF.4070302@d2.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox