Thread: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
"Paragon Corporation"
Date:
I'm running pgAdmin 1.18.0 Alpha 1 on Windows

IF I create a view

CREATE MATERIALIZED VIEW mat_test
AS SELECT generate_series(1,10) ;

Then look at the view in the SQL pane, it shows this:

CREATE OR REPLACE VIEW public.mat_test AS SELECT generate_series(1, 10) AS generate_series;


Thanks,
Regina





Re: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
Neel Patel
Date:
Hi,

I have checked with latest master branch code and i am not able to reproduce the issue.

I have followed the below steps in Ubuntu 10.04 and windows 7 64 bit.

1. Create the Materialized View with below commands.

            CREATE MATERIALIZED VIEW m_test AS SELECT generate_series(1,10);

2. Check the SQL Pane window it shows the below output for me which is correct.

            -- Materialized View: m_test

            -- DROP MATERIALIZED VIEW m_test;

            CREATE MATERIALIZED VIEW m_test AS 
             SELECT generate_series(1, 10) AS generate_series
            WITH DATA;

            ALTER TABLE m_test
             OWNER TO postgres;


-- Are you using the installers or binary compiled with latest source code ? If using the installers then can you please check with latest source code and follow the same steps to reproduce it.

-- Are you able to see the Materialized View icon under the "Views" node ?

Thanks,
Neel Patel


On Thu, Aug 15, 2013 at 11:09 AM, Paragon Corporation <lr@pcorp.us> wrote:
I'm running pgAdmin 1.18.0 Alpha 1 on Windows

IF I create a view

CREATE MATERIALIZED VIEW mat_test
AS SELECT generate_series(1,10) ;

Then look at the view in the SQL pane, it shows this:

CREATE OR REPLACE VIEW public.mat_test AS
 SELECT generate_series(1, 10) AS generate_series;


Thanks,
Regina




--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Re: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
Richard D Levine
Date:
<p><font face="sans-serif" size="2">I can find no reference in any Postgres or EnterpriseDB documentation to
MATERIALIZEDVIEW.  Are you using pgAdmin with a different DB engine?  I'm confused.  I would also love to have
materializedviews.<br /></font><br /><br /><img alt="Inactive hide details for Neel Patel ---08/16/2013 01:19:01
AM---Hi,I have checked with latest master branch code and i am not" border="0" height="16"
src="cid:1__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="16" /><font color="#424282" face="sans-serif"
size="2">NeelPatel ---08/16/2013 01:19:01 AM---Hi, I have checked with latest master branch code and i am not able to
reproducethe issue.</font><br /><br /><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr
valign="top"><tdwidth="1%"><img alt="" border="0" height="1" src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"
width="96"/><br /><ul style="padding-left: 4pt"><font color="#5F5F5F" face="sans-serif"
size="1">From:</font></ul></td><tdwidth="100%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="1" /><br /><font face="sans-serif" size="1">Neel Patel
<neel.patel@enterprisedb.com></font></td></tr><trvalign="top"><td width="1%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="96" /><br /><ul style="padding-left: 4pt"><font
color="#5F5F5F"face="sans-serif" size="1">To:</font></ul></td><td width="100%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="1" /><br /><font face="sans-serif" size="1">Paragon
Corporation<lr@pcorp.us></font></td></tr><tr valign="top"><td width="1%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="96" /><br /><ul style="padding-left: 4pt"><font
color="#5F5F5F"face="sans-serif" size="1">Cc:</font></ul></td><td valign="middle" width="100%"><img alt="" border="0"
height="1"src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com" width="1" /><br /><font face="sans-serif"
size="1">pgadmin-support@postgresql.org</font></td></tr><trvalign="top"><td width="1%"><img alt="" border="0"
height="1"src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com" width="96" /><br /><ul style="padding-left: 4pt"><font
color="#5F5F5F"face="sans-serif" size="1">Date:</font></ul></td><td width="100%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="1" /><br /><font face="sans-serif" size="1">08/16/2013
01:19AM</font></td></tr><tr valign="top"><td width="1%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="96" /><br /><ul style="padding-left: 4pt"><font
color="#5F5F5F"face="sans-serif" size="1">Subject:</font></ul></td><td width="100%"><img alt="" border="0" height="1"
src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com"width="1" /><br /><font face="sans-serif" size="1">Re:
[pgadmin-support]MATERIALIZED VIEW not showing MATERIALIZED in SQL pane</font></td></tr><tr valign="top"><td
width="1%"><imgalt="" border="0" height="1" src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com" width="96" /><br
/><ulstyle="padding-left: 4pt"><font color="#5F5F5F" face="sans-serif" size="1">Sent by:</font></ul></td><td
width="100%"><imgalt="" border="0" height="1" src="cid:2__=09BBF15ADFC618CD8f9e8a93d@mck.us.ray.com" width="1" /><br
/><fontface="sans-serif" size="1">pgadmin-support-owner@postgresql.org</font></td></tr></table><hr align="left" noshade
size="2"style="color:#8091A5; " width="100%" /><br /><br /><br /><font face="serif" size="3">Hi,</font><br /><br
/><fontface="serif" size="3">I have checked with latest master branch code and i am not able to reproduce the
issue.</font><br/><br /><font face="serif" size="3">I have followed the below steps in Ubuntu 10.04 and windows 7 64
bit.</font><br/><br /><font face="serif" size="3">1. Create the Materialized View with below commands.</font><br /><br
/><fontface="serif" size="3">            CREATE MATERIALIZED VIEW m_test AS SELECT generate_series(1,10);</font><br
/><br/><font face="serif" size="3">2. Check the SQL Pane window it shows the below output for me which is
correct.</font><br/><br /><font face="serif" size="3">            -- Materialized View: m_test</font><br /><br /><font
face="serif"size="3">            -- DROP MATERIALIZED VIEW m_test;</font><br /><br /><font face="serif" size="3">     
     CREATE MATERIALIZED VIEW m_test AS </font><br /><font face="serif" size="3">             SELECT generate_series(1,
10)AS generate_series</font><br /><font face="serif" size="3">            WITH DATA;</font><br /><br /><font
face="serif"size="3">            ALTER TABLE m_test</font><br /><font face="serif" size="3">             OWNER TO
postgres;</font><br/><br /><br /><font face="serif" size="3">-- Are you using the installers or binary compiled with
latestsource code ? If using the installers then can you please check with latest source code and follow the same steps
toreproduce it.</font><br /><br /><font face="serif" size="3">-- Are you able to see the Materialized View icon under
the"Views" node ?</font><br /><br /><font face="serif" size="3">Thanks,</font><br /><font face="serif" size="3">Neel
Patel</font><br/><font face="serif" size="3"><br /></font><br /><font face="serif" size="3">On Thu, Aug 15, 2013 at
11:09AM, Paragon Corporation <</font><a href="mailto:lr@pcorp.us" target="_blank"><font color="#0000FF" face="serif"
size="3"><u>lr@pcorp.us</u></font></a><fontface="serif" size="3">> wrote:</font><ul style="padding-left: 9pt"><font
face="serif"size="3">I'm running pgAdmin 1.18.0 Alpha 1 on Windows<br /><br /> IF I create a view<br /><br /> CREATE
MATERIALIZEDVIEW mat_test<br /> AS SELECT generate_series(1,10) ;<br /><br /> Then look at the view in the SQL pane, it
showsthis:<br /><br /> CREATE OR REPLACE VIEW public.mat_test AS<br />  SELECT generate_series(1, 10) AS
generate_series;<br/><br /><br /> Thanks,<br /> Regina</font><font color="#888888" face="serif" size="3"><br /><br
/><br/><br /><br /> --<br /> Sent via pgadmin-support mailing list (</font><a
href="mailto:pgadmin-support@postgresql.org"><fontcolor="#0000FF" face="serif"
size="3"><u>pgadmin-support@postgresql.org</u></font></a><fontcolor="#888888" face="serif" size="3">)<br /> To make
changesto your subscription:</font><font color="#0000FF" face="serif" size="3"><u><br /></u></font><a
href="http://www.postgresql.org/mailpref/pgadmin-support"target="_blank"><font color="#0000FF" face="serif"
size="3"><u>http://www.postgresql.org/mailpref/pgadmin-support</u></font></a></ul><br/><br /> 

Re: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
Ashesh Vashi
Date:
The feature was not available in 1.18.0 alpha1 build.
If you want to use it, please build it from the development branch or please wait for new release of pgAdmin III.

It has already been taken care in the repository.


On Thu, Aug 15, 2013 at 11:09 AM, Paragon Corporation <lr@pcorp.us> wrote:
I'm running pgAdmin 1.18.0 Alpha 1 on Windows

IF I create a view

CREATE MATERIALIZED VIEW mat_test
AS SELECT generate_series(1,10) ;

Then look at the view in the SQL pane, it shows this:

CREATE OR REPLACE VIEW public.mat_test AS
 SELECT generate_series(1, 10) AS generate_series;


Thanks,
Regina




--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support
--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi

Re: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
"Paragon Corporation"
Date:
Materialized views is a new feature in PostgreSQL 9.3, so you won't see it available until the next EDB release and PostgreSQL releases.  Gathering from pg advocacy emails, I'm guessing they are planning to release 9.3 sometime in September or October.


From: Richard D Levine [mailto:Richard_D_Levine@raytheon.com]
Sent: Friday, August 16, 2013 11:38 AM
To: Neel Patel
Cc: Paragon Corporation; pgadmin-support@postgresql.org; pgadmin-support-owner@postgresql.org
Subject: Re: [pgadmin-support] MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

I can find no reference in any Postgres or EnterpriseDB documentation to MATERIALIZED VIEW.  Are you using pgAdmin with a different DB engine?  I'm confused.  I would also love to have materialized views.


Inactive hide details for Neel Patel ---08/16/2013 01:19:01 AM---Hi, I have checked with latest master branch code and i am notNeel Patel ---08/16/2013 01:19:01 AM---Hi, I have checked with latest master branch code and i am not able to reproduce the issue.


    From:

Neel Patel <neel.patel@enterprisedb.com>

    To:

Paragon Corporation <lr@pcorp.us>

    Cc:

pgadmin-support@postgresql.org

    Date:

08/16/2013 01:19 AM

    Subject:

Re: [pgadmin-support] MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

    Sent by:

pgadmin-support-owner@postgresql.org




Hi,

I have checked with latest master branch code and i am not able to reproduce the issue.

I have followed the below steps in Ubuntu 10.04 and windows 7 64 bit.

1. Create the Materialized View with below commands.

            CREATE MATERIALIZED VIEW m_test AS SELECT generate_series(1,10);

2. Check the SQL Pane window it shows the below output for me which is correct.

            -- Materialized View: m_test

            -- DROP MATERIALIZED VIEW m_test;

            CREATE MATERIALIZED VIEW m_test AS 
             SELECT generate_series(1, 10) AS generate_series
            WITH DATA;

            ALTER TABLE m_test
             OWNER TO postgres;


-- Are you using the installers or binary compiled with latest source code ? If using the installers then can you please check with latest source code and follow the same steps to reproduce it.

-- Are you able to see the Materialized View icon under the "Views" node ?

Thanks,
Neel Patel


On Thu, Aug 15, 2013 at 11:09 AM, Paragon Corporation <lr@pcorp.us> wrote:
    I'm running pgAdmin 1.18.0 Alpha 1 on Windows

    IF I create a view

    CREATE MATERIALIZED VIEW mat_test
    AS SELECT generate_series(1,10) ;

    Then look at the view in the SQL pane, it shows this:

    CREATE OR REPLACE VIEW public.mat_test AS
     SELECT generate_series(1, 10) AS generate_series;


    Thanks,
    Regina





    --
    Sent via pgadmin-support mailing list (
    pgadmin-support@postgresql.org)
    To make changes to your subscription:

    http://www.postgresql.org/mailpref/pgadmin-support


Attachment

Re: MATERIALIZED VIEW not showing MATERIALIZED in SQL pane

From
Darren Duncan
Date:
On 2013.08.16 11:32 AM, Paragon Corporation wrote:
> Materialized views is a new feature in PostgreSQL 9.3, so you won't see it
> available until the next EDB release and PostgreSQL releases. Gathering from pg
> advocacy emails, I'm guessing they are planning to release 9.3 sometime in
> September or October.

The draft release announcement shown on pg advocacy shows September 9 
specifically as the tentative PostgreSQL 9.3 release date, so 3.5 weeks from now.

This is within a few days of when 9.2.0 and 9.1.0 came out in their respective 
years, and I would expect that to happen again most likely.

In similar fashion, I would anticipate a 9.3.1 release about 2 weeks later, 
around the last week of September, also following 9.2/9.1 precedent.  And 9.3.2 
in December unless there's something so critical it needs to go sooner.

-- Darren Duncan