/
PostgreSQL-3.1205.2220

PostgreSQL-3.1205.2220



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)






Return Code

Code
Meaning
0Execution successful
1SQL errors
9Other failures

Related content