pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedWhere is pg_create_restore_point funciton in 9.1a2 ?
4+ messages / 3 participants
[nested] [flat]
* Where is pg_create_restore_point funciton in 9.1a2 ?
@ 2011-06-22 08:28 Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 09:14 ` Re: Where is pg_create_restore_point funciton in 9.1a2 ? Jaime Casanova <jaime@2ndquadrant.com>
0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Calvo @ 2011-06-22 08:28 UTC (permalink / raw)
To: postgresql Forums <pgsql-general@postgresql.org>; pgsql-bugs
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)
postgres=# select pg_create_restore_point('name');
ERROR: function pg_create_restore_point(unknown) does not exist
LINE 1: select pg_create_restore_point('name');
^
HINT: No function matches the given name and argument types. You
might need to add explicit type casts.
postgres=# select pg_create_restore_point('name'::text);
ERROR: function pg_create_restore_point(text) does not exist
LINE 1: select pg_create_restore_point('name'::text);
^
HINT: No function matches the given name and argument types. You
might need to add explicit type casts.
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 don't know if it is correct but in other releases it displays all
the functions (as \d displays
all the relations in this one).
--
--
Emanuel Calvo
Helpame.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is pg_create_restore_point funciton in 9.1a2 ?
2011-06-22 08:28 Where is pg_create_restore_point funciton in 9.1a2 ? Emanuel Calvo <postgres.arg@gmail.com>
@ 2011-06-22 09:14 ` Jaime Casanova <jaime@2ndquadrant.com>
2011-06-22 11:49 ` Re: Where is pg_create_restore_point funciton in 9.1a2 ? Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 14:36 ` Re: Where is pg_create_restore_point funciton in 9.1a2 ? Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 4+ messages in thread
From: Jaime Casanova @ 2011-06-22 09:14 UTC (permalink / raw)
To: Emanuel Calvo <postgres.arg@gmail.com>; +Cc: postgresql Forums <pgsql-general@postgresql.org>; pgsql-bugs
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is pg_create_restore_point funciton in 9.1a2 ?
2011-06-22 08:28 Where is pg_create_restore_point funciton in 9.1a2 ? Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 09:14 ` Re: Where is pg_create_restore_point funciton in 9.1a2 ? Jaime Casanova <jaime@2ndquadrant.com>
@ 2011-06-22 11:49 ` Emanuel Calvo <postgres.arg@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Emanuel Calvo @ 2011-06-22 11:49 UTC (permalink / raw)
To: Jaime Casanova <jaime@2ndquadrant.com>; +Cc: postgresql Forums <pgsql-general@postgresql.org>; pgsql-bugs
2011/6/22 Jaime Casanova <jaime@2ndquadrant.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)
I'm using alpha2 release. I recompiled and I didn't found errors during the
compilation.
Is still missing for me, I will try to download the source from another
repo.
--
--
Emanuel Calvo
Helpame.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is pg_create_restore_point funciton in 9.1a2 ?
2011-06-22 08:28 Where is pg_create_restore_point funciton in 9.1a2 ? Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 09:14 ` Re: Where is pg_create_restore_point funciton in 9.1a2 ? Jaime Casanova <jaime@2ndquadrant.com>
@ 2011-06-22 14:36 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2011-06-22 14:36 UTC (permalink / raw)
To: Jaime Casanova <jaime@2ndquadrant.com>; +Cc: Emanuel Calvo <postgres.arg@gmail.com>; postgresql Forums <pgsql-general@postgresql.org>; pgsql-bugs
Jaime Casanova <jaime@2ndquadrant.com> writes:
> 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:
> the function exists... and it should appear, it does for me
Works for me, too. Are you sure you did an initdb? Are you connecting
to the right server? (BTW, why are you still using alpha2?)
>> 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
This is allegedly a feature, not a bug, and it's been that way for a
couple releases now: \df with no argument prints only user-defined
functions. I will let those who advocated that behavior defend it.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2011-06-22 14:36 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 08:28 Where is pg_create_restore_point funciton in 9.1a2 ? Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 09:14 ` Jaime Casanova <jaime@2ndquadrant.com>
2011-06-22 11:49 ` Emanuel Calvo <postgres.arg@gmail.com>
2011-06-22 14:36 ` Tom Lane <tgl@sss.pgh.pa.us>
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