Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




Info

This function is one of Plugins Operation.You can find the movie in ARGOS RPA+ video tutorial.

PostgreSQL


Author  Jerry Chae


Primary Features

The PostgreSQL plugin enables your bot to directly connect and manipulate the Postgres database.





Need help?

Technical contact to tech@argos-labs.com


May you search all operations,





Input (Required)

  • DB Host                                                Host name or IP address
  • DB Port                                 Port number
  • DB Username
  • DB Password
  • Database Name
  • SQL string or file

Advanced Input (Optional)

  • CSV bulk data input
  • Exclusion of # of headers
  • Character set for output                                               default is utf-8
  • Encoding option for bulk CSV file input                   default is utf-8
  • Suppress Warning

Return Value

  • Return value for SQL in String, CSV, or in File

Return Code

  • 0 for Success
  • 99 for everything else

 

Parameter Setting Examples

Example SQL file

--- insert static records

INSERT INTO foo (name, age)

values

('nobody me', 100),

(‘foobar', 200)



Tooltip
appendIconComment
iconColorBlue
width720px
linkTextText from Image
  • DB hostname or IP address
  • DB port number
  • DB user
  • DB password
  • Database name to use
  • SQL file to execute




Tooltip
appendIconComment
iconColorBlue
width720px
linkTextText from Image

Left Text Bubble

  • Above csv exclude 1 header line

Right Text Bubble

  • SQL file for INSERT query with template which is CSV format.
  • CSV bulk input file
    {0} is first column
    {1} is second column
    at CSV bulk input file
  • Result of Select Query is CSV 

Return Code

Code
Meaning
0Execution successful
1SQL errors
9Other failures