Hi,
Is it possible to define logical replication where the source and destination
table names are not the same. I need to sync a table from some source, but
already have a table with the same name.
Thanks
Avi
IMPORTANT - This email and any attachments is intended for the above named
addressee
> On 11 Jun 2020, at 20:58, Paul Förster wrote:
>
> Hi Marc,
>
>> On 11. Jun, 2020, at 20:54, Marc Millas wrote:
>> sorry if my question is tooo simple :-)
>
> it's not. :-)
>
>> obviously if I ask:
>> select * from regions-20180101;
>> I get a syntax error.
>> if I try select * from $$regi
Hi Marc,
> On 11. Jun, 2020, at 20:54, Marc Millas wrote:
> sorry if my question is tooo simple :-)
it's not. :-)
> obviously if I ask:
> select * from regions-20180101;
> I get a syntax error.
> if I try select * from $$regions_20180101$$;
> I get another syntax error.
> If I try to rename tha
> sorry if my question is tooo simple :-)
> >
> > I got a shapefile from the french gov.
> > I import it with postgis 3.01 utility.
> > fine !
> > the table created by this utility is named regions-20180101
> > with the dash in the middle.
> > I see that table
e created by this utility is named regions-20180101
> with the dash in the middle.
> I see that table name in pg_class, and, also, in the geometry_columns view.
>
>
> obviously if I ask:
> select * from regions-20180101;
> I get a syntax error.
> if I try select * from $$re
sorry if my question is tooo simple :-)
I got a shapefile from the french gov.
I import it with postgis 3.01 utility.
fine !
the table created by this utility is named regions-20180101
with the dash in the middle.
I see that table name in pg_class, and, also, in the geometry_columns view
On Thursday, February 27, 2020, Guyren Howe wrote:
> # select
> *
> from
> unnest(array[array['a', 'b'], array['c', 'c']]),
> unnest(array[array['1', '2'], array['3', '4']]);
> ERROR: 42712:
# select
*
from
unnest(array[array['a', 'b'], array['c', 'c']]),
unnest(array[array['1', '2'], array['3', '4']]);
ERROR: 42712: table name "unnest" specified more than once
I’m trying
Em ter, 4 de jun de 2019 às 17:16, PegoraroF10 escreveu:
> Our database has 180 schemas with 100 tables each, with majority of them
> being small tables. Then, when we do a dump or restore we don´t know how
> much time it´ll spend to do that job.
>
> So, there is an option to dump or restore orde
Our database has 180 schemas with 100 tables each, with majority of them
being small tables. Then, when we do a dump or restore we don´t know how
much time it´ll spend to do that job.
So, there is an option to dump or restore ordered alphabetically ? It could
be by schema or table, do we have it ?
Aron Widforss writes:
> I'm interested in finding a (any) unique identifier for a table given an
> unqualified name of the table. Is that feasible in SQL or a C function?
Something like this might help you:
select relnamespace::regnamespace from pg_class
where oid = 'mytable
Hi,
I'm interested in finding a (any) unique identifier for a table given an
unqualified name of the table. Is that feasible in SQL or a C function?
Regards,
Aron Widforss
12 matches
Mail list logo