Re: Please recommend postgresql.conf improvements for osm2pgsql loading Europe

2024-03-31 Thread hector vass
On Sat, 30 Mar 2024, 10:04 Alexander Farber, wrote: > Thank you, Justin - > > On Sat, Mar 30, 2024 at 4:33 AM Justin Clift > wrote: > >> On 2024-03-30 05:53, Alexander Farber wrote: >> > I use the following postgresql.conf in my Dockerfile >> > ( the full version at

Re: Insert with Jsonb column hangs

2024-03-09 Thread hector vass
multiple statements. > " > > > > > Will it be better if we break the process into batches of like 10,000 > > rows & insert the data in its individual transactions? Or any other > > better solution available ? > > > > On Sat, Mar 9, 2024 at 9:01 PM hect

Re: Insert with Jsonb column hangs

2024-03-09 Thread hector vass
TO 'some_dump_file' Regards Hector Vass 07773 352559 On Sat, Mar 9, 2024 at 4:01 PM kuldeep singh wrote: > Copy may not work in our scenario since we need to join data from multiple > tables & then convert it to json using row_to_json . This json data > eventually needs to be stored in a

Re: Insert with Jsonb column hangs

2024-03-09 Thread hector vass
On Sat, Mar 9, 2024 at 3:02 PM kuldeep singh wrote: > Hi, > > We are inserting data close to 1M record & having a single Jsonb column > but query is getting stuck. > > We are using insert into select * .. , so all the operations are within > the DB. > > If we are running select query

Fwd: Getting error while upgrading

2024-03-09 Thread hector vass
On Sat, Mar 9, 2024 at 12:18 PM omkar narkar wrote: > Hello Team, > > I am trying to upgrade my edb 10.5 community version to postgres 15.6 > version and while doing this i am getting error regarding OIDS are not > stable across Postgresql version (sys.callback_queue_table.user_data). > Kindly

Re: creating a subset DB efficiently ?

2024-03-09 Thread hector vass
On Fri, Mar 8, 2024 at 4:22 PM David Gauthier wrote: > Here's the situation > > - The DB contains data for several projects. > - The tables of the DB contain data for all projects (data is not > partitioned on project name or anything like that) > - The "project" identifier (table column)

Re: Mimic ALIAS in Postgresql?

2024-01-16 Thread hector vass
On Tue, 16 Jan 2024, 17:21 Ron Johnson, wrote: > Some RDBMSs have CREATE ALIAS, which allows you to refer to a table by a > different name (while also referring to it by the original name). > > We have an application running on DB2/UDB which (for reasons wholly > unknown to me, and probably also

Re: Get back the number of columns of a result-set prior to JSON aggregation

2023-11-28 Thread hector vass
rom pg_attribute where attrelid= 't2'::regclass and attnum>0) , json_agg(t) from t2 t; Regards Hector Vass 07773 352559 On Tue, Nov 28, 2023 at 12:12 PM Dominique Devienne wrote: > Hi. I've got a nice little POC using PostgreSQL to implement a REST API > server. > This uses json_agg

Re: How to eliminate extra "NOT EXISTS"-query here?

2023-11-28 Thread hector vass
Not equivalent to the use of NOT ARRAY and entirely possible I have misunderstood the requirement ...do you have some more test cases the non array solution does not work for Regards Hector Vass 07773 352559 On Mon, Nov 27, 2023 at 9:29 AM Dominique Devienne wrote: > On Sat, Nov 25, 2023 a

Re: How to eliminate extra "NOT EXISTS"-query here?

2023-11-25 Thread hector vass
test_id from stuff a inner join (values ('x'),('y'),('z'),('t')) b (v) using(v) group by 1 )b on(a.id=b.test_id); Regards Hector Vass On Sat, Nov 25, 2023 at 4:08 PM Tom Lane wrote: > Andreas Joseph Krogh writes: > > -- This works, but I'd rather not do the extra EXISTS > >

Re: Migrating PostgreSQL Stored Procedures to MSSQL 2019 for example

2022-08-14 Thread hector vass
like databases Aurora and MySQL ... Not to say someone somewhere hasn’t but a claimed strength of Postgresql is probably a hindrance in this instance. Hector Vass Data Engineer 07773 352559 On Fri, 12 Aug 2022, 11:24 Scott Simpson, wrote: > Hi, > > I need to migrate many PostgreSQL Stor

Re: [GENERAL] [SQL] Link Office Word form document with data from PostgreSQL

2015-03-30 Thread Hector Vass
Office Word document then postgresql extension perlu and something from the CPAN library like Win32::Word::Writer will work Hector Vass +44(0)7773 352 559 * Metametrics, International House, 107 Gloucester Road, Malmesbury, Wiltshire, SN16 0AJ * www.metametrics.co.ukhttp

SSLVerifyClient require

2004-01-12 Thread Hector Vass
I am having a problem with client authentication getting client certificates to work - Have installed the client certificate in internet explorer, this also installs the server certificate as a 'trusted root certificate'. When access basic https area of website all works correctly,