pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedNot able to create partition table using partition by list method
4+ messages / 3 participants
[nested] [flat]
* Not able to create partition table using partition by list method
@ 2019-06-13 07:13 Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>
0 siblings, 1 reply; 4+ messages in thread
From: Rajput Vishwas Kumar Shankarbhai @ 2019-06-13 07:13 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Hi,
While creating a partition table using partition by list method, I came across some unusual thing.
I have google for this problem but not find any such reports.
Please find attached document on detailed description and error message.
Thanks,
Vishwas
Attachments:
Bug_Partiton By List.docx (application/vnd.openxmlformats-officedocument.wordprocessingml.document, 55.3K) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Not able to create partition table using partition by list method
@ 2019-06-13 08:04 Magnus Hagander <magnus@hagander.net>
parent: Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>
0 siblings, 1 reply; 4+ messages in thread
From: Magnus Hagander @ 2019-06-13 08:04 UTC (permalink / raw)
To: Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>; +Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
On Thu, Jun 13, 2019 at 10:01 AM Rajput Vishwas Kumar Shankarbhai <
Rajput_Vishwas@infosys.com> wrote:
> Hi,
>
>
>
> While creating a partition table using partition by list method, I came
> across some unusual thing.
>
> I have google for this problem but not find any such reports.
>
>
>
> Please find attached document on detailed description and error message.
>
>
>
It loos like you are using EnterpriseDB specific partitioning syntax but
using PostgreSQL as your database. Basically, you are reading the wrong
documentation.
See the PostgreSQL documentation at
https://www.postgresql.org/docs/10/ddl-partitioning.html and
https://www.postgresql.org/docs/10/sql-createtable.html for the syntax to
use in PostgreSQL, including examples.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Not able to create partition table using partition by list method
@ 2019-06-13 08:11 Michael Paquier <michael@paquier.xyz>
parent: Magnus Hagander <magnus@hagander.net>
0 siblings, 1 reply; 4+ messages in thread
From: Michael Paquier @ 2019-06-13 08:11 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; +Cc: Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
On Thu, Jun 13, 2019 at 10:04:59AM +0200, Magnus Hagander wrote:
> It loos like you are using EnterpriseDB specific partitioning syntax but
> using PostgreSQL as your database. Basically, you are reading the wrong
> documentation.
If you can see something specific to vanilla Postgres, then let's see
it.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Not able to create partition table using partition by list method
@ 2019-06-13 08:14 Magnus Hagander <magnus@hagander.net>
parent: Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Hagander @ 2019-06-13 08:14 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
On Thu, Jun 13, 2019 at 10:11 AM Michael Paquier <michael@paquier.xyz>
wrote:
> On Thu, Jun 13, 2019 at 10:04:59AM +0200, Magnus Hagander wrote:
> > It loos like you are using EnterpriseDB specific partitioning syntax but
> > using PostgreSQL as your database. Basically, you are reading the wrong
> > documentation.
>
> If you can see something specific to vanilla Postgres, then let's see
> it.
>
I don't understand what you're saying here.
The syntax the OP used was from EnterpriseDBs oracle compatibility layer,
as indicated by the document. That is completely different from PostgreSQL
syntax.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-06-13 08:14 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 07:13 Not able to create partition table using partition by list method Rajput Vishwas Kumar Shankarbhai <Rajput_Vishwas@infosys.com>
2019-06-13 08:04 ` Magnus Hagander <magnus@hagander.net>
2019-06-13 08:11 ` Michael Paquier <michael@paquier.xyz>
2019-06-13 08:14 ` Magnus Hagander <magnus@hagander.net>
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