pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Enrico Pirozzi <e.pirozzi@nbsgroup.it>
To: Vincenzo Romano <vincenzo.romano@notorand.it>
Cc: PostgreSQL General <pgsql-general@postgresql.org>
Subject: Re: PostgreSQL 9.6: view based on sequence
Date: Wed, 24 Jan 2018 13:10:52 +0100
Message-ID: <2a951f66-b131-5150-2176-e85865595add@nbsgroup.it> (raw)
In-Reply-To: <CAHjZ2x5R0+u2xTR_15_ii3xeheKPoYeTtVU-pTOoiXxGE+d0pg@mail.gmail.com>
References: <e88d5c69-3cdf-8221-3588-938b2eff5196@nbsgroup.it>
	<CAHjZ2x5RvdSOvZrM9JA_0z6ihvbTRbKwO63aQ3gkwecvpthcjg@mail.gmail.com>
	<b882e612-ae22-a81d-f2f3-111675289472@nbsgroup.it>
	<CAHjZ2x5R0+u2xTR_15_ii3xeheKPoYeTtVU-pTOoiXxGE+d0pg@mail.gmail.com>

it's just to know why postgresql does not return a warning.


Il 24/01/2018 13:06, Vincenzo Romano ha scritto:
> I haven't any v9 any more in my deployments. Sorry.
>
> What is the objective of that view?
> If it's to hide the nextval() function, then the solution can be
> similar to mine.
> If it's to access the sequence metainfo, then maybe it'd be better to
> explore the pg_catalog schema.

-- 
Enrico Pirozzi
e.pirozzi@nbsgroup.it





view thread (12+ messages)  latest in thread

Message-ID: <2a951f66-b131-5150-2176-e85865595add@nbsgroup.it>
Permalink:  ../2a951f66-b131-5150-2176-e85865595add@nbsgroup.it/
Also on:    postgresql.org/message-id/2a951f66-b131-5150-2176-e85865595add@nbsgroup.it

 · 

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-general@postgresql.org
  Cc: e.pirozzi@nbsgroup.it, vincenzo.romano@notorand.it
  Subject: Re: PostgreSQL 9.6: view based on sequence
  In-Reply-To: <2a951f66-b131-5150-2176-e85865595add@nbsgroup.it>
  References: <e88d5c69-3cdf-8221-3588-938b2eff5196@nbsgroup.it> <CAHjZ2x5RvdSOvZrM9JA_0z6ihvbTRbKwO63aQ3gkwecvpthcjg@mail.gmail.com> <b882e612-ae22-a81d-f2f3-111675289472@nbsgroup.it> <CAHjZ2x5R0+u2xTR_15_ii3xeheKPoYeTtVU-pTOoiXxGE+d0pg@mail.gmail.com> <2a951f66-b131-5150-2176-e85865595add@nbsgroup.it>

* 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