Cool! It might be easier to discover and use than IRC... we'll see what happens
Marcin Kuźmiński
@marcinkuzminski
Hi Guys, i have a question, i'm trying to migrate sqlite db into postgresdb, pgloader seems to be the only tools that could do proper conversion
i'm creating a command script to migrate, but i wonder how can i make it only transfer data ?
I would like to remove such calls ideally: drop cascades to constraint changeset_comments_pull_request_id_fkey on table changeset_comments
Marcin Kuźmiński
@marcinkuzminski
ok, so create no indexes seems to do what i wanted
Dimitri Fontaine
@dimitri
Hi, happy you did find it!
Karri Niemelä
@kakoni
hi! Tring to use csv loading, but cant get timestamps to work. I've defined ts as => ts[ date format 'YYYYMMDDHH24MI']
csv looks like this 1;201510101010
Im getting an error saying; invalid input syntax for type timestamp: "2015--1-0- 10: 1:NIL"
_
Dimitri Fontaine
@dimitri
with current git master code I have "2015-10-10 10:10:NIL"
fixing that to be "2015-10-10 10:10:00" instead (defaulting non-provided parts from the format string to 00 in the time parts, so that you can ignore seconds here)
see dimitri/pgloader@da05782 for your problem case and please recompile from a fresh git clone, you should be good then
Karri Niemelä
@kakoni
Aah, ok. thanks!
Scott Hillman
@hillmanov
Hi guys - I am looking to modify the batch options in my config file, but I am having a hard time figuring out where I need to put that, and what the syntax is. From what I gathered from looking at the source it should simply be a matter of putting "batch size = 10000" somewhere.
oh you tried here first... well twitter is good too I guess
Murilo Capanema
@mcapanema
Hello guys, we are intending to use the pgloader as a helping tool for our Snow Plow implementation. The problem is that as far as I can see, pgloader still does not support JSON load, is that correct ?
sspr28
@sspr28
Hello Guys, Good day..I am facing a issues using pgloader configuration file...We are using external file to load data to postgresql database using pgloader..After insert , some of the data's are not inserted as expected null (source has null or blank space)..can you help me how to mention null if blanks on configuration file or any possible way to fix
Dimitri Fontaine
@dimitri
@mcapanema : can you detail your JSON use case a bit please?
Thank you Dimitri...er are tryong to load from Text file.
sorry for typo...We are trying to load from a text file
sspr28
@sspr28
Hi All,
I want to skip the 1st line in pgloader.configuration file..I have checked using skip head_lines=1 in my configuration but am getting the error global name 'nb_lines' is not defined..
Could you help on this .
rocas82
@rocas82
Hi All,
I would like to build a pgloader binary on my centOS 6.7 from source code:
rocas82
@rocas82
first I used bootstrap-centos.sh to create the environment, then run make and I have the following error message: debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {1002A8BA13}>: Error while trying to load definition for system bordeaux-threads from pathname /home/pgloader-3.2.2/build/quicklisp/dists/quicklisp/software/bordeaux-threads-v0.8.5/bordeaux-threads.asd: READ error during COMPILE-FILE: You need ASDF >= 3.1 to load this system correctly.(in form starting at line: 1, column: 0, file-position: 0)