pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Miguel Angel Conte <diafano@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Max column number.
Date: Tue, 12 Jul 2011 13:11:21 -0500
Message-ID: <20110712181121.GN14305@staff-mud-56-27.rice.edu> (raw)
In-Reply-To: <CAB+MjFM=brC1xYZa-n+LsyaOMA0=x7UJt3znwVr1N8x5G2=tKg@mail.gmail.com>
References: <CAB+MjFNbwOcBdeMZQBKeNnWa8gGXHBLU-1dvs+3S32C0qZ9Agg@mail.gmail.com>
	<20110712175238.GJ1984@spoetnik.xs4all.nl>
	<CAB+MjFM=brC1xYZa-n+LsyaOMA0=x7UJt3znwVr1N8x5G2=tKg@mail.gmail.com>

On Tue, Jul 12, 2011 at 03:08:36PM -0300, Miguel Angel Conte wrote:
> Unfortunately It's an inherited data model and I can't make any change for
> now...
> Thanks for your answer!
> 
> On Tue, Jul 12, 2011 at 2:52 PM, Reinoud van Leeuwen <
> reinoud.v@n.leeuwen.net> wrote:
> 
> > On Tue, Jul 12, 2011 at 02:48:26PM -0300, Miguel Angel Conte wrote:
> >
> > > Something like:
> > > "If I'm not going to exceed the size limit, then  I can add a new column"
> >
> > You want to add columns in your application? Are you sure you have the
> > right datamodel?
> >
> > Reinoud
> > --
Hi Reinoud,

I think you will need to write a function to grovel around in the database
to determine what the size of the row would be given a definition. Tedious
but straight-forward.

Regards,
Ken



view thread (19+ messages)  latest in thread

Message-ID: <20110712181121.GN14305@staff-mud-56-27.rice.edu>
Permalink:  ../20110712181121.GN14305@staff-mud-56-27.rice.edu/
Also on:    postgresql.org/message-id/20110712181121.GN14305@staff-mud-56-27.rice.edu

 · 

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-sql@postgresql.org
  Cc: ktm@rice.edu, diafano@gmail.com
  Subject: Re: Max column number.
  In-Reply-To: <20110712181121.GN14305@staff-mud-56-27.rice.edu>

* 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