pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <jaime@2ndquadrant.com>
To: Emanuel Calvo <postgres.arg@gmail.com>
Cc: postgresql Forums <pgsql-general@postgresql.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Where is pg_create_restore_point funciton in 9.1a2 ?
Date: Wed, 22 Jun 2011 04:14:09 -0500
Message-ID: <BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim37HVYJ5hsJsKyHtDLB7pCr8JVzw@mail.gmail.com>
References: <BANLkTim37HVYJ5hsJsKyHtDLB7pCr8JVzw@mail.gmail.com>

On Wed, Jun 22, 2011 at 3:28 AM, Emanuel Calvo <postgres.arg@gmail.com> wrote:
> I'm still finding pg_create_restore_point in 9.1a2 documentation:
> http://www.postgresql.org/docs/9.1/static/functions-admin.html
>
> But I've compiled that version and I didn't found it:
>
> postgres=# \df *create_restore*
>                       List of functions
>  Schema | Name | Result data type | Argument data types | Type
> --------+------+------------------+---------------------+------
> (0 rows)
>

the function exists... and it should appear, it does for me

postgres=# \df *create_re*
                                   List of functions
   Schema   |          Name           | Result data type | Argument
data types |  Type
------------+-------------------------+------------------+---------------------+--------
 pg_catalog | pg_create_restore_point | text             | text
        | normal
(1 row)

postgres=# select pg_create_restore_point('jcm');
ERROR:  WAL level not sufficient for creating a restore point
HINT:  wal_level must be set to "archive" or "hot_standby" at server start.
STATEMENT:  select pg_create_restore_point('jcm');

>
> By the way, another issue that I found is when I execute \df. It
> doesn't display anything (I must
> force with * to do that).

i can confirm this

-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación



view thread (4+ messages)  latest in thread

Message-ID: <BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.com>
Permalink:  ../BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.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: jaime@2ndquadrant.com, postgres.arg@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Where is pg_create_restore_point funciton in 9.1a2 ?
  In-Reply-To: <BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.com>
  References: <BANLkTim37HVYJ5hsJsKyHtDLB7pCr8JVzw@mail.gmail.com> <BANLkTinmnUfdnDym-uf7ezDFqNVfksm4cg@mail.gmail.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