pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Sabino Mullane <greg@turnstep.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: [GENERAL] Prepared Statement Name Truncation
Date: Sun, 18 Nov 2012 09:10:23 -0500
Message-ID: <20152C83-CD88-4725-A790-0B32305751AE@yahoo.com> (raw)
In-Reply-To: <23546.1353223443@sss.pgh.pa.us>
References: <6bbb6151ee8205741a05512bc81d059d@biglumber.com>
	<23546.1353223443@sss.pgh.pa.us>

On Nov 18, 2012, at 2:24, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> "Greg Sabino Mullane" <greg@turnstep.com> writes:
>>> If it's a postgres bug, what is the fix? Make the identifier max size
>>> longer?
> 
>> I'd also be in favor of this, in addition to upgrading from a NOTICE.
> 
> On the whole I'm not too excited about changing this.
> 

Then I'd agree with the OP and think the notice should go away on usage in DML; though it should be kept for DDL.

Can the system be made smart enough to not allow intra-schema collisions in addition to same schema ones?  That would seem to be the area of greatest concern - particularly around the usage of truncate/delete/drop.

Thought: would there be some way to flag a table like this to always require the use of a schema prefix to be accessed (since right now truncated names only have to be schema unique) in certain conditions (drop, delete, truncate)?

David J.




view thread (23+ messages)  latest in thread

Message-ID: <20152C83-CD88-4725-A790-0B32305751AE@yahoo.com>
Permalink:  ../20152C83-CD88-4725-A790-0B32305751AE@yahoo.com/
Also on:    postgresql.org/message-id/20152C83-CD88-4725-A790-0B32305751AE@yahoo.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: polobo@yahoo.com, tgl@sss.pgh.pa.us, greg@turnstep.com, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Prepared Statement Name Truncation
  In-Reply-To: <20152C83-CD88-4725-A790-0B32305751AE@yahoo.com>
  References: <6bbb6151ee8205741a05512bc81d059d@biglumber.com> <23546.1353223443@sss.pgh.pa.us> <20152C83-CD88-4725-A790-0B32305751AE@yahoo.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